Index: content/renderer/media/android/webmediaplayer_android.cc |
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc |
index 6b3a5895c6c99b6fb2a7b5112319e757f3089363..67aa9b097a3ed7e1755f7f42697bd01a9ab5a5a3 100644 |
--- a/content/renderer/media/android/webmediaplayer_android.cc |
+++ b/content/renderer/media/android/webmediaplayer_android.cc |
@@ -26,8 +26,6 @@ |
#include "content/renderer/media/crypto/key_systems.h" |
#include "content/renderer/media/crypto/renderer_cdm_manager.h" |
#include "content/renderer/media/webcontentdecryptionmodule_impl.h" |
-#include "content/renderer/media/webmediaplayer_delegate.h" |
-#include "content/renderer/media/webmediaplayer_util.h" |
#include "content/renderer/render_frame_impl.h" |
#include "content/renderer/render_thread_impl.h" |
#include "gpu/GLES2/gl2extchromium.h" |
@@ -40,6 +38,8 @@ |
#include "media/base/media_log.h" |
#include "media/base/media_switches.h" |
#include "media/base/video_frame.h" |
+#include "media/blink/webmediaplayer_delegate.h" |
+#include "media/blink/webmediaplayer_util.h" |
#include "net/base/mime_util.h" |
#include "third_party/WebKit/public/platform/Platform.h" |
#include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" |
@@ -111,7 +111,7 @@ namespace content { |
WebMediaPlayerAndroid::WebMediaPlayerAndroid( |
blink::WebFrame* frame, |
blink::WebMediaPlayerClient* client, |
- base::WeakPtr<WebMediaPlayerDelegate> delegate, |
+ base::WeakPtr<media::WebMediaPlayerDelegate> delegate, |
RendererMediaPlayerManager* player_manager, |
RendererCdmManager* cdm_manager, |
scoped_refptr<StreamTextureFactory> factory, |
@@ -200,7 +200,7 @@ void WebMediaPlayerAndroid::load(LoadType load_type, |
const blink::WebURL& url, |
CORSMode cors_mode) { |
DCHECK(main_thread_checker_.CalledOnValidThread()); |
- ReportMediaSchemeUma(GURL(url)); |
+ media::ReportMediaSchemeUma(GURL(url)); |
switch (load_type) { |
case LoadTypeURL: |
@@ -331,7 +331,7 @@ void WebMediaPlayerAndroid::seek(double seconds) { |
DCHECK(main_thread_checker_.CalledOnValidThread()); |
DVLOG(1) << __FUNCTION__ << "(" << seconds << ")"; |
- base::TimeDelta new_seek_time = ConvertSecondsToTimestamp(seconds); |
+ base::TimeDelta new_seek_time = media::ConvertSecondsToTimestamp(seconds); |
if (seeking_) { |
if (new_seek_time == seek_time_) { |
@@ -672,7 +672,7 @@ bool WebMediaPlayerAndroid::didPassCORSAccessCheck() const { |
} |
double WebMediaPlayerAndroid::mediaTimeForTimeValue(double timeValue) const { |
- return ConvertSecondsToTimestamp(timeValue).InSecondsF(); |
+ return media::ConvertSecondsToTimestamp(timeValue).InSecondsF(); |
} |
unsigned WebMediaPlayerAndroid::decodedFrameCount() const { |