Index: content/browser/gpu/browser_gpu_channel_host_factory.h |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h |
index 83140b376a1355cc7f31b07e1577e411fce2fc1b..c30dad31adb8e0a0094810c12f88a6612a987775 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h |
@@ -39,6 +39,13 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory { |
virtual GpuChannelHost* EstablishGpuChannelSync( |
CauseForGpuLaunch cause_for_gpu_launch) OVERRIDE; |
+ // Specify a task runner and callback to be used for a set of messages. |
+ virtual void SetHandlerForControlMessages( |
+ const uint32* message_ids, |
+ size_t num_messages, |
+ const base::Callback<void(const IPC::Message&)>& handler, |
+ base::TaskRunner* target_task_runner); |
+ |
private: |
struct CreateRequest { |
CreateRequest(); |
@@ -81,6 +88,9 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory { |
EstablishRequest* request, |
const IPC::ChannelHandle& channel_handle, |
const GPUInfo& gpu_info); |
+ static void AddFilterOnIO( |
+ int gpu_host_id, |
+ scoped_refptr<IPC::ChannelProxy::MessageFilter> filter); |
int gpu_client_id_; |
scoped_ptr<base::WaitableEvent> shutdown_event_; |