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

Unified Diff: content/common/gpu/gpu_channel.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/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index 7fdae98a03e1e40c8f3ff70df4fefb73b3891ed7..24ca4fcaa85c201034819b18ab9d09a5829945f6 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -52,6 +52,7 @@ class GpuChannelManager;
struct GpuRenderingStats;
class GpuWatchdog;
class GpuChannelMessageFilter;
+class PowerMonitorMessageFilter;
// Encapsulates an IPC channel between the GPU process and one renderer
// process. On the renderer side there's a corresponding GpuChannelHost.
@@ -247,6 +248,7 @@ class GpuChannel : public IPC::Listener,
base::WeakPtrFactory<GpuChannel> weak_factory_;
scoped_refptr<GpuChannelMessageFilter> filter_;
+ scoped_refptr<PowerMonitorMessageFilter> power_monitor_filter_;
scoped_refptr<base::MessageLoopProxy> io_message_loop_;
size_t num_stubs_descheduled_;

Powered by Google App Engine
This is Rietveld 408576698