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

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: Uber-refactor 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..f6642cba4295aaafa5cb8a48f42c0d5148a43ea6 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 PowerMonitorMessageBroadcaster;
struct GpuListenerInfo {
GpuListenerInfo();
@@ -248,6 +249,8 @@ class GpuChannelHost : public IPC::Sender,
typedef base::hash_map<int, CommandBufferProxyImpl*> ProxyMap;
ProxyMap proxies_;
+ scoped_ptr<PowerMonitorMessageBroadcaster> power_monitor_broadcaster_;
vandebo (ex-Chrome) 2013/06/26 21:40:33 direct member?
bajones 2013/06/26 22:37:22 This class needs to be provided with the Sender*.
vandebo (ex-Chrome) 2013/06/26 22:50:12 I may be misunderstanding your reply... you can st
bajones 2013/06/26 22:57:50 *facepalm* This is what too much Javascript does
+
DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
};

Powered by Google App Engine
This is Rietveld 408576698