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

Unified Diff: ppapi/c/private/ppb_nacl_private.h

Issue 10689012: Add ability to load pnacl resources from DIR_PNACL_COMPONENT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lint Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/private/ppb_nacl_private.h
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h
index 3bdd4cafd8f7f8f7d47a14fccbcc99b8add4927c..f846cb66aee5ca33d22b9c58604b62bc3c6519c4 100644
--- a/ppapi/c/private/ppb_nacl_private.h
+++ b/ppapi/c/private/ppb_nacl_private.h
@@ -11,7 +11,7 @@
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/private/pp_file_handle.h"
-#define PPB_NACL_PRIVATE_INTERFACE "PPB_NaCl(Private);0.8"
+#define PPB_NACL_PRIVATE_INTERFACE "PPB_NaCl(Private);0.9"
struct PPB_NaCl_Private {
// This function launches NaCl's sel_ldr process. On success, the function
@@ -68,7 +68,10 @@ struct PPB_NaCl_Private {
PP_FileHandle (*CreateTemporaryFile)(PP_Instance instance);
// Return true if we are off the record.
- PP_Bool (*IsOffTheRecord)();
+ PP_Bool (*IsOffTheRecord)(void);
+
+ // Return true if PNaCl is turned on.
+ PP_Bool (*IsPnaclEnabled)(void);
};
#endif // PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
« no previous file with comments | « ppapi/api/private/finish_writing_these/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698