Lines Matching refs:ReadCallback
236 base::Bind(&BufferedResourceLoaderTest::ReadCallback,
286 MOCK_METHOD2(ReadCallback, void(BufferedResourceLoader::Status, int));
404 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10));
410 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5));
413 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5));
418 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10));
423 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0));
431 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5));
436 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0));
440 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 0));
459 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 20));
472 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 20));
480 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0));
487 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0));
504 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0));
507 // The following call will not call ReadCallback() because it is waiting for
512 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10));
520 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5));
535 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0));
562 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0));
577 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0));
599 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0));
623 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10));
635 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10));
647 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10));
673 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 1));
695 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 1));
719 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 4));
752 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0));
800 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 4));
854 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 12));
876 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10));
912 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 18));
949 EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0));