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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 17074009: Created multi-process-friendly PowerMonitor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index c06989d040c06ee9b64414e05fcce174445dd0d0..7e65f94e35a9082ef19979e7404346da035893ab 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -49,6 +49,7 @@ namespace content {
class CommandBufferProxyImpl;
class GpuChannelHost;
struct GpuRenderingStats;
+class PowerMonitorService;
struct GpuListenerInfo {
GpuListenerInfo();
@@ -248,6 +249,8 @@ class GpuChannelHost : public IPC::Sender,
typedef base::hash_map<int, CommandBufferProxyImpl*> ProxyMap;
ProxyMap proxies_;
+ scoped_refptr<PowerMonitorService> power_monitor_service_;
+
DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
};

Powered by Google App Engine
This is Rietveld 408576698