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

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

Issue 193313002: Pepper: Move GetSandboxISA() to PPB_NaCl_Private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nacl_interface threading fix 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
Index: ppapi/native_client/src/trusted/plugin/pnacl_resources.h
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_resources.h b/ppapi/native_client/src/trusted/plugin/pnacl_resources.h
index 263dcf6f2942f003b99ef23f9e1f96170ee57794..3363e17a397f494885ce63b62fb4b8500017f6a4 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_resources.h
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_resources.h
@@ -15,7 +15,6 @@
#include "ppapi/c/private/pp_file_handle.h"
#include "ppapi/cpp/completion_callback.h"
-#include "ppapi/native_client/src/trusted/plugin/nexe_arch.h"
#include "ppapi/native_client/src/trusted/plugin/plugin_error.h"
namespace plugin {
@@ -30,9 +29,6 @@ class PnaclUrls {
// Get the base URL prefix for Pnacl resources (without platform prefix).
static nacl::string GetBaseUrl();
- // Return {platform_prefix}/url
- static nacl::string PrependPlatformPrefix(const nacl::string& url);
-
static bool IsPnaclComponent(const nacl::string& full_url);
static nacl::string PnaclComponentURLToFilename(
const nacl::string& full_url);
@@ -78,7 +74,8 @@ class PnaclResources {
return ld_tool_name;
}
- nacl::string GetFullUrl(const nacl::string& partial_url) const;
+ nacl::string GetFullUrl(const nacl::string& partial_url,
+ const nacl::string& sandbox_arch) const;
// Get file descs by name. Only valid after StartLoad's completion callback
// fired.
« 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