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