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

Unified Diff: content/browser/media/webrtc/webrtc_internals.h

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 years, 6 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
Index: content/browser/media/webrtc/webrtc_internals.h
diff --git a/content/browser/media/webrtc/webrtc_internals.h b/content/browser/media/webrtc/webrtc_internals.h
index e319313df2db8a47b130ca3404f173da82b5f6e1..ddcb67142910329916883f0ea8ba5960bec94d45 100644
--- a/content/browser/media/webrtc/webrtc_internals.h
+++ b/content/browser/media/webrtc/webrtc_internals.h
@@ -20,9 +20,12 @@
#include "content/public/browser/render_process_host_observer.h"
#include "ui/shell_dialogs/select_file_dialog.h"
+namespace device {
+class PowerSaveBlocker;
+} // namespace device
+
namespace content {
-class PowerSaveBlocker;
class WebContents;
class WebRTCInternalsUIObserver;
@@ -202,7 +205,7 @@ class CONTENT_EXPORT WebRTCInternals : public RenderProcessHostObserver,
// While |peer_connection_data_| is non-empty, hold an instance of
// PowerSaveBlocker. This prevents the application from being suspended while
// remoting.
- std::unique_ptr<PowerSaveBlocker> power_save_blocker_;
+ std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_;
// Set of render process hosts that |this| is registered as an observer on.
base::hash_set<int> render_process_id_set_;
« no previous file with comments | « content/browser/media/media_web_contents_observer.cc ('k') | content/browser/media/webrtc/webrtc_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698