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

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

Issue 8974020: Change pnacl to read all resources from the extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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/native_client/src/trusted/plugin/manifest.h
===================================================================
--- ppapi/native_client/src/trusted/plugin/manifest.h (revision 115141)
+++ ppapi/native_client/src/trusted/plugin/manifest.h (working copy)
@@ -66,6 +66,12 @@
ErrorInfo* error_info,
bool* is_portable) const = 0;
+ // Some manifests (e.g., the pnacl coordinator manifest) need to access
+ // resources from an extension origin distinct from the plugin's origin
+ // (e.g., the pnacl coordinator needs to load llc, ld, and some libraries).
+ // This method returns true if such access should be allowed.
+ virtual bool PermitsExtensionUrls() const = 0;
+
protected:
NACL_DISALLOW_COPY_AND_ASSIGN(Manifest);
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/json_manifest.h ('k') | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698