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

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

Issue 10377157: Refactor Pnacl coordinator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 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_.

Powered by Google App Engine
This is Rietveld 408576698