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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 17074009: Created multi-process-friendly PowerMonitor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing Feedback Created 7 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/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 7acf083433f0dffa6d8c5ed374643f340254e7c3..4e1c86bb1e6cf356ff3981690eb9d76f5fb2142c 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -19,6 +19,7 @@
#include "content/common/content_export.h"
#include "content/common/gpu/gpu_memory_uma_stats.h"
#include "content/common/gpu/gpu_process_launch_causes.h"
+#include "content/common/power_monitor_message_broadcaster.h"
#include "content/public/browser/browser_child_process_host_delegate.h"
#include "content/public/browser/gpu_data_manager.h"
#include "googleurl/src/gurl.h"
@@ -265,6 +266,8 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
SurfaceRefMap;
SurfaceRefMap surface_refs_;
+ PowerMonitorMessageBroadcaster power_monitor_broadcaster_;
+
DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
};

Powered by Google App Engine
This is Rietveld 408576698