| 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..6079da55013bdc004a63b3d0f4470fbbf6dc51a4 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 {
|
| + public:
|
| + static nacl::string GetExtensionUrl() {
|
| + return nacl::string(kExtensionOrigin) + GetSandboxISA() + "/";
|
| + }
|
| + static const nacl::string GetLlcUrl() { return nacl::string(kLlcUrl); }
|
| + static const nacl::string GetLdUrl() { return nacl::string(kLdUrl); }
|
| + private:
|
| + static const char kExtensionOrigin[];
|
| + static const char kLlcUrl[];
|
| + static const char 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_.
|
|
|