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

Unified Diff: ppapi/native_client/src/trusted/plugin/json_manifest.h

Issue 177113009: Support non-SFI mode in NaCl manifest file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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
« no previous file with comments | « ppapi/c/private/ppb_nacl_private.h ('k') | ppapi/native_client/src/trusted/plugin/json_manifest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/json_manifest.h
diff --git a/ppapi/native_client/src/trusted/plugin/json_manifest.h b/ppapi/native_client/src/trusted/plugin/json_manifest.h
index 6760345c2f084e1ce99ef147706d605a2068a7d3..73612452abb4eb492eb6ea4b12fbe02ef612cb6e 100644
--- a/ppapi/native_client/src/trusted/plugin/json_manifest.h
+++ b/ppapi/native_client/src/trusted/plugin/json_manifest.h
@@ -32,10 +32,12 @@ class JsonManifest : public Manifest {
JsonManifest(const pp::URLUtil_Dev* url_util,
const nacl::string& manifest_base_url,
const nacl::string& sandbox_isa,
+ bool nonsfi_enabled,
bool pnacl_debug)
: url_util_(url_util),
manifest_base_url_(manifest_base_url),
sandbox_isa_(sandbox_isa),
+ nonsfi_enabled_(nonsfi_enabled),
dictionary_(Json::nullValue),
pnacl_debug_(pnacl_debug) { }
virtual ~JsonManifest() { }
@@ -48,6 +50,7 @@ class JsonManifest : public Manifest {
// manifest file.
virtual bool GetProgramURL(nacl::string* full_url,
PnaclOptions* pnacl_options,
+ bool* uses_nonsfi_mode,
ErrorInfo* error_info) const;
// Resolves a URL relative to the manifest base URL
@@ -88,17 +91,18 @@ class JsonManifest : public Manifest {
const nacl::string& parent_key,
nacl::string* url,
PnaclOptions* pnacl_options,
+ bool* uses_nonsfi_mode,
ErrorInfo* error_info) const;
const pp::URLUtil_Dev* url_util_;
nacl::string manifest_base_url_;
nacl::string sandbox_isa_;
+ bool nonsfi_enabled_;
Json::Value dictionary_;
bool pnacl_debug_; // Search for a pnacl-debug entry.
};
-
} // namespace plugin
#endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_JSON_MANIFEST_H_
« no previous file with comments | « ppapi/c/private/ppb_nacl_private.h ('k') | ppapi/native_client/src/trusted/plugin/json_manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698