| Index: native_client_sdk/src/libraries/nacl_io/mount_http.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/mount_http.h b/native_client_sdk/src/libraries/nacl_io/mount_http.h
|
| index e10f1afcfe99600a4579463c61959f5c23bd4cb6..94de677be41a5f70663206e2138bc3d829407b83 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/mount_http.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/mount_http.h
|
| @@ -21,6 +21,7 @@ class MountHttp : public Mount {
|
| public:
|
| typedef std::map<std::string, MountNode*> NodeMap_t;
|
|
|
| + virtual Error Access(const Path& path, int a_mode);
|
| virtual Error Open(const Path& path, int mode, MountNode** out_node);
|
| virtual Error Unlink(const Path& path);
|
| virtual Error Mkdir(const Path& path, int permissions);
|
| @@ -41,6 +42,10 @@ class MountHttp : public Mount {
|
| Error ParseManifest(char *text);
|
|
|
| private:
|
| + // Gets the URL to fetch for |path|.
|
| + // |path| is relative to the mount point for the HTTP filesystem.
|
| + std::string MakeUrl(const Path& path);
|
| +
|
| std::string url_root_;
|
| StringMap_t headers_;
|
| NodeMap_t node_cache_;
|
|
|