Home
last modified time | relevance | path

Searched refs:data_source_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/content/renderer/media/
Dbuffered_data_source_unittest.cc97 data_source_.reset(new MockBufferedDataSource( in BufferedDataSourceTest()
99 data_source_->set_host(&host_); in BufferedDataSourceTest()
114 data_source_->Initialize( in Initialize()
120 EXPECT_EQ(data_source_->downloading(), is_http); in Initialize()
145 if (data_source_->loading()) { in Stop()
150 data_source_->Stop(media::NewExpectedClosure()); in Stop()
155 EXPECT_CALL(*data_source_, CreateResourceLoader(_, _)) in ExpectCreateResourceLoader()
156 .WillOnce(Invoke(data_source_.get(), in ExpectCreateResourceLoader()
175 data_source_->set_loading(false); in FinishLoading()
183 data_source_->Read(position, kDataSize, buffer_, in ReadAt()
[all …]
Dwebmediaplayer_impl.cc292 data_source_.reset(new BufferedDataSource( in DoLoad()
297 data_source_->Initialize( in DoLoad()
311 if (data_source_) in play()
312 data_source_->MediaIsPlaying(); in play()
325 if (data_source_) in pause()
326 data_source_->MediaIsPaused(); in pause()
397 if (data_source_) in setRate()
398 data_source_->MediaPlaybackRateChanged(rate); in setRate()
420 if (data_source_) in setPreload()
421 data_source_->SetPreload(static_cast<content::Preload>(preload)); in setPreload()
[all …]
Dwebmediaplayer_impl.h343 scoped_ptr<BufferedDataSource> data_source_; variable
/external/chromium/webkit/glue/media/
Dsimple_data_source_unittest.cc68 data_source_ = new SimpleDataSource(MessageLoop::current(), in InitializeDataSource()
72 data_source_->set_host(&host_); in InitializeDataSource()
73 data_source_->SetURLLoaderForTest(url_loader_); in InitializeDataSource()
75 data_source_->Initialize(url, callback); in InitializeDataSource()
83 data_source_->didReceiveResponse(NULL, response); in RequestSucceeded()
85 EXPECT_TRUE(data_source_->GetSize(&size)); in RequestSucceeded()
89 data_source_->didReceiveData(NULL, data_ + i, 1, 1); in RequestSucceeded()
98 data_source_->didFinishLoading(NULL, 0); in RequestSucceeded()
109 data_source_->didFail(NULL, error); in RequestFailed()
120 data_source_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect()
[all …]
Dweb_data_source_factory.cc26 scoped_refptr<WebDataSource> data_source_; member in webkit_glue::WebDataSourceFactory::BuildRequest
72 data_source_(data_source), in BuildRequest()
77 if (data_source_.get()) { in ~BuildRequest()
78 data_source_->CancelInitialize(); in ~BuildRequest()
79 data_source_ = NULL; in ~BuildRequest()
84 data_source_->Initialize(url(), NewCallback(this, &BuildRequest::InitDone)); in DoStart()
91 data_source = (status == media::PIPELINE_OK) ? data_source_ : NULL; in InitDone()
92 data_source_ = NULL; in InitDone()
Dbuffered_data_source_unittest.cc106 EXPECT_CALL(*data_source_, CreateResourceLoader(_, _)) in ExpectCreateAndStartResourceLoader()
124 data_source_ = new MockBufferedDataSource(MessageLoop::current(), in InitializeDataSource()
126 data_source_->set_host(&host_); in InitializeDataSource()
195 data_source_->Initialize(url, in InitializeDataSource()
203 EXPECT_TRUE(data_source_->GetSize(&size)); in InitializeDataSource()
206 EXPECT_TRUE(data_source_->IsStreaming()); in InitializeDataSource()
217 data_source_->Stop(media::NewExpectedCallback()); in StopDataSource()
252 data_source_->Read( in ReadDataSourceHit()
267 data_source_->Read( in ReadDataSourceHang()
275 data_source_->Abort(); in ReadDataSourceHang()
[all …]
/external/chromium_org/media/filters/
Dblocking_url_protocol_unittest.cc20 : url_protocol_(&data_source_, in BlockingUrlProtocolTest()
23 CHECK(data_source_.Initialize(GetTestDataFilePath("bear-320x240.webm"))); in BlockingUrlProtocolTest()
28 data_source_.Stop(base::Bind( in ~BlockingUrlProtocolTest()
35 FileDataSource data_source_; member in media::BlockingUrlProtocolTest
79 data_source_.force_read_errors_for_testing(); in TEST_F()
106 EXPECT_TRUE(data_source_.GetSize(&data_source_size)); in TEST_F()
113 EXPECT_FALSE(data_source_.IsStreaming()); in TEST_F()
116 data_source_.force_streaming_for_testing(); in TEST_F()
117 EXPECT_TRUE(data_source_.IsStreaming()); in TEST_F()
Dblocking_url_protocol.cc16 : data_source_(data_source), in BlockingUrlProtocol()
38 if (data_source_->GetSize(&file_size) && read_position_ >= file_size) in Read()
44 data_source_->Read(read_position_, size, data, base::Bind( in Read()
70 if ((data_source_->GetSize(&file_size) && position > file_size) || in SetPosition()
80 return data_source_->GetSize(size_out); in GetSize()
84 return data_source_->IsStreaming(); in IsStreaming()
Dffmpeg_demuxer.cc361 data_source_(data_source), in FFmpegDemuxer()
372 DCHECK(data_source_); in FFmpegDemuxer()
380 data_source_->Stop(BindToCurrentLoop(base::Bind( in Stop()
383 data_source_ = NULL; in Stop()
433 data_source_->set_host(host); in Initialize()
554 if (!blocking_thread_.IsRunning() || !data_source_) { in OnFindStreamInfoDone()
668 data_source_->SetBitrate(bitrate_); in OnFindStreamInfoDone()
Dblocking_url_protocol.h45 DataSource* data_source_; variable
Dffmpeg_demuxer_unittest.cc88 data_source_.get(), in CreateDemuxer()
161 scoped_ptr<FileDataSource> data_source_; member in media::FFmpegDemuxerTest
186 CHECK(!data_source_); in CreateDataSource()
196 data_source_.reset(new FileDataSource()); in CreateDataSource()
197 EXPECT_TRUE(data_source_->Initialize(file_path)); in CreateDataSource()
Dpipeline_integration_test_base.cc215 data_source_.reset(file_data_source); in CreateFilterCollection()
221 data_source_.get(), in CreateFilterCollection()
Dpipeline_integration_test_base.h103 scoped_ptr<DataSource> data_source_; variable
Dffmpeg_demuxer.h232 DataSource* data_source_; variable
/external/chromium_org/media/tools/player_x11/
Ddata_source_logger.cc24 : data_source_(data_source.Pass()), in DataSourceLogger()
30 data_source_->set_host(host); in set_host()
35 data_source_->Stop(base::Bind(&LogAndRunStopClosure, closure)); in Stop()
42 data_source_->Read(position, size, data, base::Bind( in Read()
47 bool success = data_source_->GetSize(size_out); in GetSize()
59 bool streaming = data_source_->IsStreaming(); in IsStreaming()
66 data_source_->SetBitrate(bitrate); in SetBitrate()
Ddata_source_logger.h35 scoped_ptr<media::DataSource> data_source_;
/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_gtk.h105 TabContents* data_source_; variable
Ddragged_tab_gtk.cc53 : data_source_(datasource), in DraggedTabGtk()
296 dragged_tab->data_source_->render_view_host()->GetBackingStore(false); in OnExposeEvent()