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

Unified Diff: content/public/browser/android/browser_media_player_manager_register.cc

Issue 2503793003: Register MediaUrlInterceptor with MediaPlayerRenderer (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/browser_media_player_manager_register.cc
diff --git a/content/public/browser/android/browser_media_player_manager_register.cc b/content/public/browser/android/browser_media_player_manager_register.cc
index 8362da599b291b609ec48db0bed32d53b2879aed..6145716f9620fd57bdb90d0c55943f5ff73b770b 100644
--- a/content/public/browser/android/browser_media_player_manager_register.cc
+++ b/content/public/browser/android/browser_media_player_manager_register.cc
@@ -5,16 +5,18 @@
#include "content/public/browser/android/browser_media_player_manager_register.h"
#include "content/browser/media/android/browser_media_player_manager.h"
+#include "content/browser/media/android/media_player_renderer.h"
namespace content {
void RegisterMediaUrlInterceptor(
media::MediaUrlInterceptor* media_url_interceptor) {
- // TODO(tguilbert): Update this filename and the registration method to use
- // MediaPlayerRenderer::RegisterMediaUrlInterceptor when turning on the
- // MediaPlayerRenderer by default. See crbug.com/619729.
+ // TODO(tguilbert): Update this filename when deleting WMPA and the
+ // BrowserMediaPlayerManager. See crbug.com/570711.
content::BrowserMediaPlayerManager::RegisterMediaUrlInterceptor(
media_url_interceptor);
+ content::MediaPlayerRenderer::RegisterMediaUrlInterceptor(
+ media_url_interceptor);
}
} // namespace content
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698