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

Unified Diff: webkit/renderer/media/webmediaplayer_impl.h

Issue 18123002: Migrate webkit/renderer/media/ to content/renderer/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trim things down Created 7 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
Index: webkit/renderer/media/webmediaplayer_impl.h
diff --git a/webkit/renderer/media/webmediaplayer_impl.h b/webkit/renderer/media/webmediaplayer_impl.h
index b2ec010460ce5fbca4d51e07a5634d8c66aba3e8..5f08a7aec789e46304995027992109333bd7bad5 100644
--- a/webkit/renderer/media/webmediaplayer_impl.h
+++ b/webkit/renderer/media/webmediaplayer_impl.h
@@ -65,7 +65,7 @@ class WebLayerImpl;
namespace webkit_media {
class BufferedDataSource;
-class MediaStreamClient;
+class MediaLoadDelegate;
class WebAudioSourceProviderImpl;
class WebMediaPlayerDelegate;
class WebMediaPlayerParams;
@@ -205,8 +205,11 @@ class WebMediaPlayerImpl
void SetOpaque(bool);
private:
- // Contains common logic used across the different types loading.
- void LoadSetup(const WebKit::WebURL& url);
+ // Called after |load_delegate_| has decided to allow the load. If
+ // |load_delegate_| is NULL this is called immediately.
+ void ContinueLoad(const WebKit::WebURL& url,
ddorwin 2013/06/29 01:38:30 nit: "Continue" implies there was a previous step.
scherkus (not reviewing) 2013/07/02 01:46:23 Done.
+ WebKit::WebMediaSource* media_source,
+ CORSMode cors_mode);
// Called after asynchronous initialization of a data source completed.
void DataSourceInitialized(const GURL& gurl, bool success);
@@ -305,7 +308,7 @@ class WebMediaPlayerImpl
base::WeakPtr<WebMediaPlayerDelegate> delegate_;
- MediaStreamClient* media_stream_client_;
+ MediaLoadDelegate* load_delegate_;
scoped_refptr<media::MediaLog> media_log_;

Powered by Google App Engine
This is Rietveld 408576698