Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: ppapi/proxy/plugin_main_irt.h

Issue 140573003: Connect PPAPI IPC channels for non-SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef PPAPI_PROXY_PLUGIN_MAIN_IRT_H_
6 #define PPAPI_PROXY_PLUGIN_MAIN_IRT_H_
7
8 #include "ppapi/nacl_irt/irt_ppapi.h"
9 #include "ppapi/proxy/ppapi_proxy_export.h"
Mark Seaborn 2014/02/19 17:00:30 You shouldn't have PPAPI_PROXY_EXPORT here. That
Mark Seaborn 2014/02/19 17:07:54 Oh, was PPAPI_PROXY_EXPORT just needed to make the
hidehiko 2014/02/20 18:50:01 Exactly. Without this component build would be fai
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 // The entry point for the main thread of the PPAPI plugin process.
16 PPAPI_PROXY_EXPORT int PpapiPluginMain(void);
17
18 PPAPI_PROXY_EXPORT void PpapiPluginRegisterThreadCreator(
19 const struct PP_ThreadFunctions* new_funcs);
20
21 // Overwrites the IPC channels for the browser and the renderer by the given
Mark Seaborn 2014/02/19 17:00:30 "Overwrites" -> "Sets"?
hidehiko 2014/02/20 18:50:01 Done.
22 // FD #s. This will be used for non-SFI mode. Must be called before
Mark Seaborn 2014/02/19 17:00:30 Nit: '#s' -> 'numbers'. This will be read more th
hidehiko 2014/02/20 18:50:01 Done :-)
23 // PpapiPluginMain is called.
24 PPAPI_PROXY_EXPORT void SetIPCFileDescriptors(
25 int browser_ipc_fd, int renderer_ipc_fd);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif // PPAPI_PROXY_PLUGIN_MAIN_IRT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698