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

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

Issue 1006973002: Publicize registration of MediaUrlInterceptor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved to public/android Created 5 years, 9 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 | « content/public/browser/android/media_url_interceptor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/media_url_interceptor.cc
diff --git a/content/public/browser/android/media_url_interceptor.cc b/content/public/browser/android/media_url_interceptor.cc
new file mode 100644
index 0000000000000000000000000000000000000000..db9914d698f66f4db3b099ae041b3ee47734ae40
--- /dev/null
+++ b/content/public/browser/android/media_url_interceptor.cc
@@ -0,0 +1,17 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/public/browser/android/media_url_interceptor.h"
+
+#include "content/browser/media/android/browser_media_player_manager.h"
+
+namespace content {
+
+void MediaUrlInterceptor::Register(
+ media::MediaUrlInterceptor* media_url_interceptor) {
+ content::BrowserMediaPlayerManager::RegisterMediaUrlInterceptor(
Ted C 2015/03/17 21:06:39 Any reason to not add a content/public .h for brow
mnaganov (inactive) 2015/03/18 11:17:48 My concern was that this would imply introducing a
+ media_url_interceptor);
+}
+
+} // namespace content
« no previous file with comments | « content/public/browser/android/media_url_interceptor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698