Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: webkit/media/webmediaplayer_impl.h

Issue 10535101: Replace Pipeline::SetNetworkActivity() with BufferedDataSource -> WebMediaPlayerImpl callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/media/buffered_data_source_unittest.cc ('k') | webkit/media/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_impl.h
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index f01a011d023a68f300f5c945d4bd11dad1b2e790..6ef94b2adfc50b2ab4c6ac584b9f870c6873c760 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -226,7 +226,6 @@ class WebMediaPlayerImpl
void OnPipelineSeek(media::PipelineStatus status);
void OnPipelineEnded(media::PipelineStatus status);
void OnPipelineError(media::PipelineStatus error);
- void OnNetworkEvent(media::NetworkEvent type);
void OnDemuxerOpened();
void OnKeyNeeded(scoped_array<uint8> init_data, int init_data_size);
void SetOpaque(bool);
@@ -235,6 +234,9 @@ class WebMediaPlayerImpl
// Called after asynchronous initialization of a data source completed.
void DataSourceInitialized(const GURL& gurl, media::PipelineStatus status);
+ // Called when the data source is downloading or paused.
+ void NotifyDownloading(bool is_downloading);
+
// Finishes starting the pipeline due to a call to load().
void StartPipeline();
« no previous file with comments | « webkit/media/buffered_data_source_unittest.cc ('k') | webkit/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698