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. | |
10 | 6 |
11 #include <stdint.h> | 7 #include <stdint.h> |
12 | 8 |
13 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
14 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
15 #include "ipc/ipc_logging.h" | 11 #include "ipc/ipc_logging.h" |
16 #include "ppapi/nacl_irt/irt_interfaces.h" | 12 #include "ppapi/nacl_irt/irt_interfaces.h" |
17 #include "ppapi/nacl_irt/irt_ppapi.h" | 13 #include "ppapi/nacl_irt/irt_ppapi.h" |
18 #include "ppapi/nacl_irt/plugin_startup.h" | 14 #include "ppapi/nacl_irt/plugin_startup.h" |
19 #include "ppapi/nacl_irt/ppapi_dispatcher.h" | 15 #include "ppapi/nacl_irt/ppapi_dispatcher.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 54 } |
59 | 55 |
60 const void* PPP_GetInterface(const char* interface_name) { | 56 const void* PPP_GetInterface(const char* interface_name) { |
61 return g_pp_functions.PPP_GetInterface(interface_name); | 57 return g_pp_functions.PPP_GetInterface(interface_name); |
62 } | 58 } |
63 | 59 |
64 const struct nacl_irt_ppapihook nacl_irt_ppapihook = { | 60 const struct nacl_irt_ppapihook nacl_irt_ppapihook = { |
65 irt_ppapi_start, | 61 irt_ppapi_start, |
66 PpapiPluginRegisterThreadCreator, | 62 PpapiPluginRegisterThreadCreator, |
67 }; | 63 }; |
OLD | NEW |