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 7b78c2f3a6ab3dcde222c7e7a0864a57fb79539e..627af4421a13366a1e4d264198436e7fddf0d71b 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -38,6 +38,10 @@ namespace base { |
class MessageLoopProxy; |
} |
+namespace content { |
+struct GpuRenderingStats; |
+} |
+ |
namespace IPC { |
class SyncMessageFilter; |
} |
@@ -131,6 +135,10 @@ class GpuChannelHost : public IPC::Sender, |
// Destroy a command buffer created by this channel. |
void DestroyCommandBuffer(CommandBufferProxy* command_buffer); |
+ // Collect rendering stats from GPU process. |
+ bool CollectRenderingStats( |
+ int surface_id, content::GpuRenderingStats* stats); |
+ |
// Add a route for the current message loop. |
void AddRoute(int route_id, base::WeakPtr<IPC::Listener> listener); |
void RemoveRoute(int route_id); |