Extract the AppRestriction-listening code out of //chrome
[chromium-blink-merge.git] / ppapi / nacl_irt / plugin_main.h
blob75fc1124affe4959cf580d6d8c281aaec2986a4d
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
3 // found in the LICENSE file.
5 #ifndef PPAPI_NACL_IRT_PLUGIN_MAIN_H_
6 #define PPAPI_NACL_IRT_PLUGIN_MAIN_H_
8 #include "ppapi/nacl_irt/public/irt_ppapi.h"
9 #include "ppapi/proxy/ppapi_proxy_export.h"
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 // The entry point for the main thread of the PPAPI plugin process.
16 PPAPI_PROXY_EXPORT int PpapiPluginMain(void);
18 PPAPI_PROXY_EXPORT void PpapiPluginRegisterThreadCreator(
19 const struct PP_ThreadFunctions* new_funcs);
21 #ifdef __cplusplus
23 #endif
25 #endif // PPAPI_NACL_IRT_PLUGIN_MAIN_H_