Lines Matching refs:cb
125 TestCompletionCallback cb;
127 reinterpret_cast<disk_cache::BackendImpl*>(cache)->FlushQueueForTest(&cb);
128 cb.GetResult(rv); // Ignore the result;
134 TestCompletionCallback cb;
138 NULL, &cache, &cb);
139 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount())
150 rv = cache->CreateEntry(test_name, &entry, &cb);
151 if (cb.GetResult(rv) != net::OK)
161 rv = cache->CreateEntry(test_name, &entry, &cb);
162 if (cb.GetResult(rv) != net::OK)
174 TestCompletionCallback cb;
179 NULL, &cache, &cb);
180 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount())
184 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb);
185 if (cb.GetResult(rv) != net::OK)
192 rv = cache->CreateEntry("some other key", &entry, &cb);
193 if (cb.GetResult(rv) != net::OK)
200 rv = cache->OpenEntry(kCrashEntryName, &entry, &cb);
201 if (cb.GetResult(rv) != net::OK)
217 TestCompletionCallback cb;
222 NULL, &cache, &cb);
223 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount())
227 rv = cache->CreateEntry("some other key", &entry, &cb);
228 if (cb.GetResult(rv) != net::OK)
233 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb);
234 if (cb.GetResult(rv) != net::OK)
240 rv = cache->OpenEntry(kCrashEntryName, &entry, &cb);
241 if (cb.GetResult(rv) != net::OK)
263 TestCompletionCallback cb;
264 int rv = cache->Init(&cb);
265 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount())
274 rv = cache->CreateEntry(key, &entry, &cb);
275 if (cb.GetResult(rv) != net::OK)
280 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb);
281 if (cb.GetResult(rv) != net::OK)
291 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb);
292 if (cb.GetResult(rv) != net::OK)
296 rv = cache->OpenEntry(kCrashEntryName, &entry, &cb);
297 if (cb.GetResult(rv) != net::OK)