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

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

Issue 17074009: Created multi-process-friendly PowerMonitor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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_ui_shim.h
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h
index 9f4329a10a5898418a502e13b544af7fe572e8cb..399ce8f8b2444db48236fcb32bf82c4e9806bc1b 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.h
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h
@@ -19,6 +19,7 @@
#include "base/threading/non_thread_safe.h"
#include "content/common/content_export.h"
#include "content/common/message_router.h"
+#include "content/common/power_monitor_message_broadcaster.h"
#include "content/public/common/gpu_memory_stats.h"
#include "gpu/config/gpu_info.h"
#include "ipc/ipc_listener.h"
@@ -111,6 +112,8 @@ class GpuProcessHostUIShim : public IPC::Listener,
// The serial number of the GpuProcessHost / GpuProcessHostUIShim pair.
int host_id_;
+
+ PowerMonitorMessageBroadcaster power_monitor_broadcaster_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698