Home
last modified time | relevance | path

Searched refs:ReadCallback (Results 1 – 10 of 10) sorted by relevance

/external/chromium/webkit/glue/media/
Dbuffered_resource_loader_unittest.cc211 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 …]
Dbuffered_data_source_unittest.cc250 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 …]
Dbuffered_data_source.h41 media::DataSource::ReadCallback* read_callback);
131 void ReadCallback(int error);
170 scoped_ptr<media::DataSource::ReadCallback> read_callback_;
Dsimple_data_source_unittest.cc136 EXPECT_CALL(*this, ReadCallback(1)); in AsyncRead()
139 NewCallback(this, &SimpleDataSourceTest::ReadCallback)); in AsyncRead()
144 MOCK_METHOD1(ReadCallback, void(size_t size));
Dbuffered_data_source.cc168 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
Dsimple_data_source.h51 uint8* data, ReadCallback* read_callback);
Dsimple_data_source.cc120 ReadCallback* read_callback) { in Read()
/external/chromium/base/
Dfile_util_proxy.h52 int /* bytes read/written */>::Type ReadCallback; typedef
157 ReadCallback* callback);
Dfile_util_proxy.cc529 base::FileUtilProxy::ReadCallback* callback) in RelayRead()
558 base::FileUtilProxy::ReadCallback* callback_;
848 ReadCallback* callback) { in Read()
/external/chromium/chrome/browser/ui/webui/options/
Dcertificate_manager_handler.cc152 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()