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

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

Issue 8525014: Get all the resources relative to a single base. Currently the same base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/pnacl_resources.h
===================================================================
--- ppapi/native_client/src/trusted/plugin/pnacl_resources.h (revision 109525)
+++ ppapi/native_client/src/trusted/plugin/pnacl_resources.h (working copy)
@@ -35,6 +35,9 @@
void Initialize();
+ // URLs are all relative to the coordinator's resource_base_url().
+
+ // Get the wrapper for the downloaded resource.
nacl::DescWrapper* WrapperForUrl(const nacl::string& url) {
return resource_wrappers_[url];
}
@@ -50,7 +53,9 @@
NACL_DISALLOW_COPY_AND_ASSIGN(PnaclResources);
// Callback invoked each time one resource has been loaded.
- void ResourceReady(int32_t pp_error, const nacl::string& url);
+ void ResourceReady(int32_t pp_error,
+ const nacl::string& url,
+ const nacl::string& full_url);
// Callback invoked when all resources have been loaded.
void AllLoaded(int32_t pp_error);
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc ('k') | ppapi/native_client/src/trusted/plugin/pnacl_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698