Chromium Code Reviews| Index: ppapi/native_client/src/trusted/plugin/ppapi_entrypoints.h |
| diff --git a/ppapi/native_client/src/trusted/plugin/ppapi_entrypoints.h b/ppapi/native_client/src/trusted/plugin/ppapi_entrypoints.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..803103fccb30ac46a8895a08513e297f3632ced0 |
| --- /dev/null |
| +++ b/ppapi/native_client/src/trusted/plugin/ppapi_entrypoints.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_ENTRYPOINTS_H_ |
|
Mark Seaborn
2014/07/29 18:13:18
Nit: Add PPAPI_ prefix
teravest
2014/07/29 20:03:45
Done.
|
| +#define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_ENTRYPOINTS_H_ |
| + |
| +#include "ppapi/c/pp_module.h" |
| +#include "ppapi/c/ppb.h" |
| + |
| +// Provides entry points for the trusted plugin. |
| +namespace nacl_plugin { |
| + |
| +int PPP_InitializeModule(PP_Module module, |
| + PPB_GetInterface get_browser_interface); |
| +const void* PPP_GetInterface(const char* interface_name); |
| +void PPP_ShutdownModule(); |
| + |
| +} // namespace nacl_plugin |
| + |
| +#endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_ENTRYPOINTS_H_ |