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

Side by Side Diff: content/browser/android/media_player_manager_android.cc

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/android/media_player_manager_android.h" 5 #include "content/browser/android/media_player_manager_android.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/android/cookie_getter_impl.h" 8 #include "content/browser/android/cookie_getter_impl.h"
9 #include "content/common/media/media_player_messages.h" 9 #include "content/common/media/media_player_messages.h"
10 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
11 #include "content/public/browser/browser_thread.h"
12 #include "content/public/browser/render_process_host.h" 11 #include "content/public/browser/render_process_host.h"
13 #include "content/public/browser/render_view_host.h" 12 #include "content/public/browser/render_view_host.h"
14 13
15 using media::MediaPlayerBridge; 14 using media::MediaPlayerBridge;
16 15
17 // Threshold on the number of media players per renderer before we start 16 // Threshold on the number of media players per renderer before we start
18 // attempting to release inactive media players. 17 // attempting to release inactive media players.
19 static const int kMediaPlayerThreshold = 1; 18 static const int kMediaPlayerThreshold = 1;
20 19
21 namespace content { 20 namespace content {
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } 292 }
294 } 293 }
295 } 294 }
296 295
297 void MediaPlayerManagerAndroid::ReleaseMediaResources( 296 void MediaPlayerManagerAndroid::ReleaseMediaResources(
298 MediaPlayerBridge* player) { 297 MediaPlayerBridge* player) {
299 // Nothing needs to be done. 298 // Nothing needs to be done.
300 } 299 }
301 300
302 } // namespace content 301 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/content_video_view.cc ('k') | content/browser/appcache/chrome_appcache_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698