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

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

Issue 15709012: Revert 205329 "Split pnacl and nacl mime types" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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: trunk/src/ppapi/native_client/src/trusted/plugin/json_manifest.h
===================================================================
--- trunk/src/ppapi/native_client/src/trusted/plugin/json_manifest.h (revision 205338)
+++ trunk/src/ppapi/native_client/src/trusted/plugin/json_manifest.h (working copy)
@@ -31,10 +31,12 @@
public:
JsonManifest(const pp::URLUtil_Dev* url_util,
const nacl::string& manifest_base_url,
- const nacl::string& sandbox_isa)
+ const nacl::string& sandbox_isa,
+ bool prefer_portable)
: url_util_(url_util),
manifest_base_url_(manifest_base_url),
sandbox_isa_(sandbox_isa),
+ prefer_portable_(prefer_portable),
dictionary_(Json::nullValue) { }
virtual ~JsonManifest() { }
@@ -79,6 +81,9 @@
const pp::URLUtil_Dev* url_util_;
nacl::string manifest_base_url_;
nacl::string sandbox_isa_;
+ // Determines whether portable programs are chosen in manifest files over
+ // native programs.
+ bool prefer_portable_;
Json::Value dictionary_;
};
« no previous file with comments | « trunk/src/chrome/test/nacl/nacl_browsertest_util.cc ('k') | trunk/src/ppapi/native_client/src/trusted/plugin/json_manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698