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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/android/browser_media_player_manager_register.h " 5 #include "content/public/browser/android/browser_media_player_manager_register.h "
6 6
7 #include "content/browser/media/android/browser_media_player_manager.h" 7 #include "content/browser/media/android/browser_media_player_manager.h"
8 #include "content/browser/media/android/media_player_renderer.h"
8 9
9 namespace content { 10 namespace content {
10 11
11 void RegisterMediaUrlInterceptor( 12 void RegisterMediaUrlInterceptor(
12 media::MediaUrlInterceptor* media_url_interceptor) { 13 media::MediaUrlInterceptor* media_url_interceptor) {
13 // TODO(tguilbert): Update this filename and the registration method to use 14 // TODO(tguilbert): Update this filename when deleting WMPA and the
14 // MediaPlayerRenderer::RegisterMediaUrlInterceptor when turning on the 15 // BrowserMediaPlayerManager. See crbug.com/570711.
15 // MediaPlayerRenderer by default. See crbug.com/619729.
16 content::BrowserMediaPlayerManager::RegisterMediaUrlInterceptor( 16 content::BrowserMediaPlayerManager::RegisterMediaUrlInterceptor(
17 media_url_interceptor); 17 media_url_interceptor);
18 content::MediaPlayerRenderer::RegisterMediaUrlInterceptor(
19 media_url_interceptor);
18 } 20 }
19 21
20 } // namespace content 22 } // namespace content
OLDNEW
« 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