| 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_message_loop_proxy.h" | 5 #include "ppapi/proxy/ppb_message_loop_proxy.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
| 15 #include "ppapi/c/pp_errors.h" | 15 #include "ppapi/c/pp_errors.h" |
| 16 #include "ppapi/c/ppb_message_loop.h" | 16 #include "ppapi/c/ppb_message_loop.h" |
| 17 #include "ppapi/proxy/plugin_dispatcher.h" | 17 #include "ppapi/proxy/plugin_dispatcher.h" |
| 18 #include "ppapi/proxy/plugin_globals.h" | 18 #include "ppapi/proxy/plugin_globals.h" |
| 19 #include "ppapi/shared_impl/proxy_lock.h" | 19 #include "ppapi/shared_impl/proxy_lock.h" |
| 20 #include "ppapi/thunk/enter.h" | 20 #include "ppapi/thunk/enter.h" |
| 21 | 21 |
| 22 using ppapi::thunk::PPB_MessageLoop_API; | 22 using ppapi::thunk::PPB_MessageLoop_API; |
| 23 | 23 |
| 24 namespace ppapi { | 24 namespace ppapi { |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 PPB_MessageLoop_Proxy::~PPB_MessageLoop_Proxy() { | 277 PPB_MessageLoop_Proxy::~PPB_MessageLoop_Proxy() { |
| 278 } | 278 } |
| 279 | 279 |
| 280 // static | 280 // static |
| 281 const PPB_MessageLoop_1_0* PPB_MessageLoop_Proxy::GetInterface() { | 281 const PPB_MessageLoop_1_0* PPB_MessageLoop_Proxy::GetInterface() { |
| 282 return &ppb_message_loop_interface; | 282 return &ppb_message_loop_interface; |
| 283 } | 283 } |
| 284 | 284 |
| 285 } // namespace proxy | 285 } // namespace proxy |
| 286 } // namespace ppapi | 286 } // namespace ppapi |
| OLD | NEW |