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

Side by Side Diff: content/public/renderer/pepper_nacl_helper.h

Issue 11140046: Add a content API to connect a Native Client module to an out-of-process PPAPI proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 (c) 2012 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 CONTENT_PUBLIC_RENDERER_PEPPER_HELPER_H_
6 #define CONTENT_PUBLIC_RENDERER_PEPPER_HELPER_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "content/common/content_export.h"
10 #include "ppapi/shared_impl/ppapi_permissions.h"
11
12 namespace IPC {
13 struct ChannelHandle;
14 }
15
16 namespace webkit {
17 namespace ppapi {
18 class PluginInstance;
19 class PluginModule;
20 }
21 }
22
23 namespace content {
24
25 // Creates a NaCl plugin module and sets up the out-of-process proxy to
26 // support it. Returns 'true' if the NaCl plugin module is successfully
27 // created and the instance is proxied.
28 CONTENT_EXPORT scoped_refptr<webkit::ppapi::PluginModule>
29 CreateNaClPluginModule(
30 webkit::ppapi::PluginInstance* plugin_instance,
31 ppapi::PpapiPermissions permissions,
32 const IPC::ChannelHandle& channel_handle,
33 int nacl_process_id);
34
35 } // namespace content
36
37 #endif // CONTENT_PUBLIC_RENDERER_PEPPER_HELPER_H_
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698