Searched refs:ReadCallback (Results 1 – 10 of 10) sorted by relevance
/external/chromium/webkit/glue/media/ |
D | buffered_resource_loader_unittest.cc | 211 NewCallback(this, &BufferedResourceLoaderTest::ReadCallback)); in ReadLoader() 224 MOCK_METHOD1(ReadCallback, void(int error)); 337 EXPECT_CALL(*this, ReadCallback(10)); in TEST_F() 343 EXPECT_CALL(*this, ReadCallback(5)); in TEST_F() 346 EXPECT_CALL(*this, ReadCallback(5)); in TEST_F() 351 EXPECT_CALL(*this, ReadCallback(10)); in TEST_F() 356 EXPECT_CALL(*this, ReadCallback(net::ERR_CACHE_MISS)); in TEST_F() 364 EXPECT_CALL(*this, ReadCallback(5)); in TEST_F() 369 EXPECT_CALL(*this, ReadCallback(net::ERR_CACHE_MISS)); in TEST_F() 373 EXPECT_CALL(*this, ReadCallback(0)); in TEST_F() [all …]
|
D | buffered_data_source_unittest.cc | 250 EXPECT_CALL(*this, ReadCallback(read_size)); in ReadDataSourceHit() 254 NewCallback(this, &BufferedDataSourceTest::ReadCallback)); in ReadDataSourceHit() 269 NewCallback(this, &BufferedDataSourceTest::ReadCallback)); in ReadDataSourceHang() 273 EXPECT_CALL(*this, ReadCallback(_)); in ReadDataSourceHang() 318 EXPECT_CALL(*this, ReadCallback(size)); in ReadDataSourceMiss() 322 EXPECT_CALL(*this, ReadCallback(media::DataSource::kReadError)); in ReadDataSourceMiss() 327 NewCallback(this, &BufferedDataSourceTest::ReadCallback)); in ReadDataSourceMiss() 350 EXPECT_CALL(*this, ReadCallback(media::DataSource::kReadError)); in ReadDataSourceFailed() 354 NewCallback(this, &BufferedDataSourceTest::ReadCallback)); in ReadDataSourceFailed() 392 EXPECT_CALL(*this, ReadCallback(size)); in ReadDataSourceTimesOut() [all …]
|
D | buffered_data_source.h | 41 media::DataSource::ReadCallback* read_callback); 131 void ReadCallback(int error); 170 scoped_ptr<media::DataSource::ReadCallback> read_callback_;
|
D | simple_data_source_unittest.cc | 136 EXPECT_CALL(*this, ReadCallback(1)); in AsyncRead() 139 NewCallback(this, &SimpleDataSourceTest::ReadCallback)); in AsyncRead() 144 MOCK_METHOD1(ReadCallback, void(size_t size));
|
D | buffered_data_source.cc | 168 media::DataSource::ReadCallback* read_callback) { in Read() 420 NewCallback(this, &BufferedDataSource::ReadCallback)); in ReadInternal() 599 void BufferedDataSource::ReadCallback(int error) { in ReadCallback() function in webkit_glue::BufferedDataSource
|
D | simple_data_source.h | 51 uint8* data, ReadCallback* read_callback);
|
D | simple_data_source.cc | 120 ReadCallback* read_callback) { in Read()
|
/external/chromium/base/ |
D | file_util_proxy.h | 52 int /* bytes read/written */>::Type ReadCallback; typedef 157 ReadCallback* callback);
|
D | file_util_proxy.cc | 529 base::FileUtilProxy::ReadCallback* callback) in RelayRead() 558 base::FileUtilProxy::ReadCallback* callback_; 848 ReadCallback* callback) { in Read()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | certificate_manager_handler.cc | 152 typedef Callback2<int, std::string>::Type ReadCallback; typedef in FileAccessProvider 160 ReadCallback* callback); 167 void DoRead(scoped_refptr<CancelableRequest<ReadCallback> > request, 177 FileAccessProvider::ReadCallback* callback) { in StartRead() 178 scoped_refptr<CancelableRequest<ReadCallback> > request( in StartRead() 179 new CancelableRequest<ReadCallback>(callback)); in StartRead() 211 scoped_refptr<CancelableRequest<ReadCallback> > request, in DoRead() 221 request->ForwardResult(ReadCallback::TupleType(saved_errno, data)); in DoRead()
|