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

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

Issue 9159037: Use CORS for fetching NaCl resources from extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add webkit bug# Created 8 years, 11 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/native_client/src/trusted/plugin/manifest.h ('k') | ppapi/native_client/src/trusted/plugin/plugin.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/plugin.h
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h
index 014f1756dcbf33f24488bc46544a468307a40086..06f45288dfe78a6e15a17b2d8e5853a58058203d 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h
@@ -299,12 +299,7 @@ class Plugin : public pp::InstancePrivate {
// Requests a URL asynchronously resulting in a call to pp_callback with
// a PP_Error indicating status. On success an open file descriptor
// corresponding to the url body is recorded for further lookup.
- // permits_extension_urls determines whether a call to stream as file
- // should be allowed to load URLs that are outside of the origin of the
- // plugin. This is used by, e.g., the pnacl coordinator, which loads
- // llc, ld, and various object files from a chrome extension URL.
bool StreamAsFile(const nacl::string& url,
- bool permits_extension_urls,
PP_CompletionCallback pp_callback);
// Returns an open POSIX file descriptor retrieved by StreamAsFile()
// or NACL_NO_FILE_DESC. The caller must take ownership of the descriptor.
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/manifest.h ('k') | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698