Index: content/renderer/gpu/compositor_ipc_message_filter.h |
diff --git a/content/renderer/gpu/compositor_ipc_message_filter.h b/content/renderer/gpu/compositor_ipc_message_filter.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ecbc0f6989df8a6a1bfe781699a9adf04ac5667f |
--- /dev/null |
+++ b/content/renderer/gpu/compositor_ipc_message_filter.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_RENDERER_GPU_COMPOSITOR_IPC_MESSAGE_FILTER_ |
+#define CONTENT_RENDERER_GPU_COMPOSITOR_IPC_MESSAGE_FILTER_ |
+ |
+namespace base { |
+class TaskRunner; |
+} |
+ |
+namespace IPC { |
+class ForwardingMessageFilter; |
+} |
+ |
+namespace content { |
+ |
+// Create all ipc message filters used by compositor. |
+// TODO(simonhong): Unify all filters used by compositor into this one. |
+IPC::ForwardingMessageFilter* CreateCompositorIPCMessageFilter( |
+ base::TaskRunner* target_task_runner); |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_RENDERER_GPU_COMPOSITOR_IPC_MESSAGE_FILTER_ |