OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ppapi/host/resource_message_filter.h" | 5 #include "ppapi/host/resource_message_filter.h" |
6 | 6 |
| 7 #include "base/bind.h" |
7 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
8 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
9 #include "base/task_runner.h" | 10 #include "base/task_runner.h" |
10 #include "ipc/ipc_message.h" | 11 #include "ipc/ipc_message.h" |
11 #include "ppapi/c/pp_errors.h" | 12 #include "ppapi/c/pp_errors.h" |
12 #include "ppapi/host/ppapi_host.h" | 13 #include "ppapi/host/ppapi_host.h" |
13 #include "ppapi/host/resource_host.h" | 14 #include "ppapi/host/resource_host.h" |
14 | 15 |
15 namespace ppapi { | 16 namespace ppapi { |
16 namespace host { | 17 namespace host { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 return NULL; | 69 return NULL; |
69 } | 70 } |
70 | 71 |
71 void ResourceMessageFilter::DispatchMessage(const IPC::Message& msg, | 72 void ResourceMessageFilter::DispatchMessage(const IPC::Message& msg, |
72 HostMessageContext context) { | 73 HostMessageContext context) { |
73 RunMessageHandlerAndReply(msg, &context); | 74 RunMessageHandlerAndReply(msg, &context); |
74 } | 75 } |
75 | 76 |
76 } // namespace host | 77 } // namespace host |
77 } // namespace ppapi | 78 } // namespace ppapi |
OLD | NEW |