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/proxy/ppb_flash_message_loop_proxy.h" | 5 #include "ppapi/proxy/ppb_flash_message_loop_proxy.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/macros.h" |
8 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
9 #include "ppapi/c/private/ppb_flash_message_loop.h" | 10 #include "ppapi/c/private/ppb_flash_message_loop.h" |
10 #include "ppapi/proxy/enter_proxy.h" | 11 #include "ppapi/proxy/enter_proxy.h" |
11 #include "ppapi/proxy/plugin_dispatcher.h" | 12 #include "ppapi/proxy/plugin_dispatcher.h" |
12 #include "ppapi/proxy/ppapi_messages.h" | 13 #include "ppapi/proxy/ppapi_messages.h" |
13 #include "ppapi/shared_impl/resource.h" | 14 #include "ppapi/shared_impl/resource.h" |
14 #include "ppapi/thunk/enter.h" | 15 #include "ppapi/thunk/enter.h" |
15 #include "ppapi/thunk/ppb_flash_message_loop_api.h" | 16 #include "ppapi/thunk/ppb_flash_message_loop_api.h" |
16 #include "ppapi/thunk/resource_creation_api.h" | 17 #include "ppapi/thunk/resource_creation_api.h" |
17 | 18 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 void PPB_Flash_MessageLoop_Proxy::WillQuitSoon( | 156 void PPB_Flash_MessageLoop_Proxy::WillQuitSoon( |
156 scoped_ptr<IPC::Message> reply_message, | 157 scoped_ptr<IPC::Message> reply_message, |
157 int32_t result) { | 158 int32_t result) { |
158 PpapiHostMsg_PPBFlashMessageLoop_Run::WriteReplyParams(reply_message.get(), | 159 PpapiHostMsg_PPBFlashMessageLoop_Run::WriteReplyParams(reply_message.get(), |
159 result); | 160 result); |
160 Send(reply_message.release()); | 161 Send(reply_message.release()); |
161 } | 162 } |
162 | 163 |
163 } // namespace proxy | 164 } // namespace proxy |
164 } // namespace ppapi | 165 } // namespace ppapi |
OLD | NEW |