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

Side by Side Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 11783112: Remove the NaCl SRPC proxy from Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 5
6 /* This file contains NaCl private interfaces. */ 6 /* This file contains NaCl private interfaces. */
7 7
8 #inline c 8 #inline c
9 #include "ppapi/c/private/pp_file_handle.h" 9 #include "ppapi/c/private/pp_file_handle.h"
10 #endinl 10 #endinl
11 11
12 /** 12 /**
13 * The <code>PP_NaClResult</code> enum contains NaCl result codes. 13 * The <code>PP_NaClResult</code> enum contains NaCl result codes.
14 */ 14 */
15 [assert_size(4)] 15 [assert_size(4)]
16 enum PP_NaClResult { 16 enum PP_NaClResult {
17 /** Successful NaCl call */ 17 /** Successful NaCl call */
18 PP_NACL_OK = 0, 18 PP_NACL_OK = 0,
19 /** Unspecified NaCl error */ 19 /** Unspecified NaCl error */
20 PP_NACL_FAILED = 1, 20 PP_NACL_FAILED = 1,
21 /** Error creating the module */ 21 /** Error creating the module */
22 PP_NACL_ERROR_MODULE = 2, 22 PP_NACL_ERROR_MODULE = 2,
23 /** Error creating and initializing the instance */ 23 /** Error creating and initializing the instance */
24 PP_NACL_ERROR_INSTANCE = 3, 24 PP_NACL_ERROR_INSTANCE = 3
25 /** SRPC proxy should be used instead */
26 PP_NACL_USE_SRPC = 128
27 }; 25 };
28 26
29 /** NaCl-specific errors that should be reported to the user */ 27 /** NaCl-specific errors that should be reported to the user */
30 enum PP_NaClError { 28 enum PP_NaClError {
31 /** 29 /**
32 * The manifest program element does not contain a program usable on the 30 * The manifest program element does not contain a program usable on the
33 * user's architecture 31 * user's architecture
34 */ 32 */
35 PP_NACL_MANIFEST_MISSING_ARCH = 0 33 PP_NACL_MANIFEST_MISSING_ARCH = 0
36 }; 34 };
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 PP_Bool IsOffTheRecord(); 106 PP_Bool IsOffTheRecord();
109 107
110 /* Return true if PNaCl is turned on. 108 /* Return true if PNaCl is turned on.
111 */ 109 */
112 PP_Bool IsPnaclEnabled(); 110 PP_Bool IsPnaclEnabled();
113 111
114 /* Display a UI message to the user. */ 112 /* Display a UI message to the user. */
115 PP_NaClResult ReportNaClError([in] PP_Instance instance, 113 PP_NaClResult ReportNaClError([in] PP_Instance instance,
116 [in] PP_NaClError message_id); 114 [in] PP_NaClError message_id);
117 }; 115 };
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698