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

Side by Side Diff: content/browser/media/webrtc_internals.cc

Issue 689563002: Cleanup: Remove unneeded path_service.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/media/webrtc_internals.h" 5 #include "content/browser/media/webrtc_internals.h"
6 6
7 #include "base/path_service.h"
8 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
9 #include "content/browser/media/webrtc_internals_ui_observer.h" 8 #include "content/browser/media/webrtc_internals_ui_observer.h"
10 #include "content/browser/web_contents/web_contents_view.h" 9 #include "content/browser/web_contents/web_contents_view.h"
11 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
12 #include "content/public/browser/content_browser_client.h" 11 #include "content/public/browser/content_browser_client.h"
13 #include "content/public/browser/notification_service.h" 12 #include "content/public/browser/notification_service.h"
14 #include "content/public/browser/notification_types.h" 13 #include "content/public/browser/notification_types.h"
15 #include "content/public/browser/power_save_blocker.h" 14 #include "content/public/browser/power_save_blocker.h"
16 #include "content/public/browser/render_process_host.h" 15 #include "content/public/browser/render_process_host.h"
17 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 } else if (!peer_connection_data_.empty() && !power_save_blocker_) { 377 } else if (!peer_connection_data_.empty() && !power_save_blocker_) {
379 DVLOG(1) << ("Preventing the application from being suspended while one or " 378 DVLOG(1) << ("Preventing the application from being suspended while one or "
380 "more PeerConnections are active."); 379 "more PeerConnections are active.");
381 power_save_blocker_ = content::PowerSaveBlocker::Create( 380 power_save_blocker_ = content::PowerSaveBlocker::Create(
382 content::PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension, 381 content::PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,
383 "WebRTC has active PeerConnections.").Pass(); 382 "WebRTC has active PeerConnections.").Pass();
384 } 383 }
385 } 384 }
386 385
387 } // namespace content 386 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager_browsertest.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698