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 2d8b3562c159b312ac38c813baf18a10df92e7fb..9ae4ecbaffc10ec16ef5d3c37d95fc6967fa7b63 100644 |
--- a/ppapi/native_client/src/trusted/plugin/pnacl_resources.h |
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_resources.h |
@@ -13,6 +13,7 @@ |
#include "native_client/src/shared/srpc/nacl_srpc.h" |
#include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
#include "native_client/src/trusted/plugin/delayed_callback.h" |
+#include "native_client/src/trusted/plugin/nexe_arch.h" |
#include "native_client/src/trusted/plugin/plugin_error.h" |
#include "ppapi/utility/completion_callback_factory.h" |
@@ -22,6 +23,18 @@ class Manifest; |
class Plugin; |
class PnaclCoordinator; |
+class PnaclUrls { |
Derek Schuff
2012/05/15 23:17:20
This replaces some static char*s and GetExtensionU
|
+ public: |
+ static nacl::string GetExtensionUrl() { |
+ return kExtensionOrigin + GetSandboxISA() + "/"; |
+ } |
+ static const nacl::string& GetLlcUrl() { return kLlcUrl; } |
+ static const nacl::string& GetLdUrl() { return kLdUrl; } |
+ private: |
+ static const nacl::string kExtensionOrigin; |
+ static const nacl::string kLlcUrl; |
+ static const nacl::string kLdUrl; |
+}; |
// Loads a list of remote resources, providing a way to get file descriptors for |
// thse resources. All URLs in relative to resource_base_url_. |