| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 // Need to include this before most other files because it defines |
| 7 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define |
| 8 // IPC_MESSAGE_MACROS_LOG_ENABLED so ppapi_messages.h will generate the |
| 9 // ViewMsgLog et al. functions. |
| 6 | 10 |
| 7 #include <stdint.h> | 11 #include <stdint.h> |
| 8 | 12 |
| 9 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
| 10 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
| 11 #include "ipc/ipc_logging.h" | 15 #include "ipc/ipc_logging.h" |
| 12 #include "ppapi/nacl_irt/irt_interfaces.h" | 16 #include "ppapi/nacl_irt/irt_interfaces.h" |
| 13 #include "ppapi/nacl_irt/irt_ppapi.h" | 17 #include "ppapi/nacl_irt/irt_ppapi.h" |
| 14 #include "ppapi/nacl_irt/plugin_startup.h" | 18 #include "ppapi/nacl_irt/plugin_startup.h" |
| 15 #include "ppapi/nacl_irt/ppapi_dispatcher.h" | 19 #include "ppapi/nacl_irt/ppapi_dispatcher.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 } | 58 } |
| 55 | 59 |
| 56 const void* PPP_GetInterface(const char* interface_name) { | 60 const void* PPP_GetInterface(const char* interface_name) { |
| 57 return g_pp_functions.PPP_GetInterface(interface_name); | 61 return g_pp_functions.PPP_GetInterface(interface_name); |
| 58 } | 62 } |
| 59 | 63 |
| 60 const struct nacl_irt_ppapihook nacl_irt_ppapihook = { | 64 const struct nacl_irt_ppapihook nacl_irt_ppapihook = { |
| 61 irt_ppapi_start, | 65 irt_ppapi_start, |
| 62 PpapiPluginRegisterThreadCreator, | 66 PpapiPluginRegisterThreadCreator, |
| 63 }; | 67 }; |
| OLD | NEW |