Lines Matching refs:cb
191 TestCompletionCallback cb;
204 cache_thread.message_loop_proxy(), NULL, &cache, &cb);
205 ASSERT_EQ(net::OK, cb.GetResult(rv));
217 NULL, &cache, &cb);
218 ASSERT_EQ(net::OK, cb.GetResult(rv));
224 NULL, NULL, &cache, &cb);
225 ASSERT_EQ(net::OK, cb.GetResult(rv));
257 TestCompletionCallback cb;
270 &cache, &cb);
271 ASSERT_EQ(net::OK, cb.GetResult(rv));
275 reinterpret_cast<disk_cache::Entry**>(&entry), &cb);
276 ASSERT_EQ(net::OK, cb.GetResult(rv));
286 rv = entry->WriteDataImpl(0, i, buffer, kSize, &cb, false);
300 EXPECT_TRUE(cb.have_result());
309 TestCompletionCallback cb;
321 cache_thread.message_loop_proxy(), NULL, &cache, &cb);
322 ASSERT_EQ(net::OK, cb.GetResult(rv));
325 rv = cache->CreateEntry("some key", &entry, &cb);
326 ASSERT_EQ(net::OK, cb.GetResult(rv));
332 rv = entry->WriteData(0, 0, buffer, kSize, &cb, false);
353 TestCompletionCallback cb;
358 cache_thread.message_loop_proxy(), NULL, &backend, &cb);
359 ASSERT_NE(net::OK, cb.GetResult(rv));
1335 TestCompletionCallback cb;
1340 cache_thread.message_loop_proxy(), NULL, &cache, &cb);
1341 ASSERT_EQ(net::OK, cb.GetResult(rv));
1929 TestCompletionCallback cb;
1936 cache_thread.message_loop_proxy(), NULL, &cache[0], &cb);
1937 ASSERT_EQ(net::OK, cb.GetResult(rv));
1940 cache_thread.message_loop_proxy(), NULL, &cache[1], &cb);
1941 ASSERT_EQ(net::OK, cb.GetResult(rv));
1948 rv = cache[i]->CreateEntry(key, &entry, &cb);
1949 ASSERT_EQ(net::OK, cb.GetResult(rv));