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

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

Issue 14750007: NaCl: enable meta-based validation for shared libraries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 7 years, 7 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 8e40fd8252eb28ee2b0781695fca7c117fa9dac9..72b62e935f1a41d18e426d80339945eac29d74b6 100644
--- a/ppapi/c/private/ppb_nacl_private.h
+++ b/ppapi/c/private/ppb_nacl_private.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_nacl_private.idl modified Mon Apr 22 22:25:20 2013. */
+/* From private/ppb_nacl_private.idl modified Fri May 17 13:21:13 2013. */
#ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
@@ -12,7 +12,6 @@
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_stdint.h"
-#include "ppapi/c/pp_var.h"
#define PPB_NACL_PRIVATE_INTERFACE_1_0 "PPB_NaCl_Private;1.0"
#define PPB_NACL_PRIVATE_INTERFACE PPB_NACL_PRIVATE_INTERFACE_1_0
@@ -57,19 +56,6 @@ typedef enum {
*/
/**
- * @addtogroup Structs
- * @{
- */
-struct PP_NaClExecutableMetadata {
- /** File path of NaCl executable. This is created by the OpenNaClExecutableFd
- * function. It is the caller's responsiblity to release it. */
- struct PP_Var file_path;
-};
-/**
- * @}
- */
-
-/**
* @addtogroup Interfaces
* @{
*/
@@ -149,10 +135,10 @@ struct PPB_NaCl_Private_1_0 {
* corresponding to the file URL and returns a file descriptor, or an invalid
* handle on failure. |metadata| is left unchanged on failure.
*/
- PP_FileHandle (*OpenNaClExecutable)(
- PP_Instance instance,
- const char* file_url,
- struct PP_NaClExecutableMetadata* metadata);
+ PP_FileHandle (*OpenNaClExecutable)(PP_Instance instance,
+ const char* file_url,
+ uint64_t* file_token_lo,
+ uint64_t* file_token_hi);
};
typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;

Powered by Google App Engine
This is Rietveld 408576698