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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/mount_http.h

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 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: native_client_sdk/src/libraries/nacl_mounts/mount_http.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts/mount_http.h b/native_client_sdk/src/libraries/nacl_mounts/mount_http.h
deleted file mode 100644
index 7b0b1ddcf291b461ad4e741d21f3a110369f1c64..0000000000000000000000000000000000000000
--- a/native_client_sdk/src/libraries/nacl_mounts/mount_http.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef LIBRARIES_NACL_MOUNTS_MOUNT_HTTP_H_
-#define LIBRARIES_NACL_MOUNTS_MOUNT_HTTP_H_
-
-#include <string>
-#include "nacl_mounts/mount.h"
-#include "nacl_mounts/pepper_interface.h"
-
-class MountNode;
-class MountNodeDir;
-class MountNodeHttp;
-class MountHttpMock;
-
-class MountHttp : public Mount {
- public:
- typedef std::map<std::string, MountNode*> NodeMap_t;
-
- virtual MountNode *Open(const Path& path, int mode);
- virtual int Unlink(const Path& path);
- virtual int Mkdir(const Path& path, int permissions);
- virtual int Rmdir(const Path& path);
- virtual int Remove(const Path& path);
-
- PP_Resource MakeUrlRequestInfo(const std::string& url,
- const char* method,
- StringMap_t* additional_headers);
-
- protected:
- MountHttp();
-
- virtual bool Init(int dev, StringMap_t& args, PepperInterface* ppapi);
- virtual void Destroy();
- MountNodeDir* FindOrCreateDir(const Path& path);
- char *LoadManifest(const std::string& path);
- bool ParseManifest(char *text);
-
- private:
- std::string url_root_;
- StringMap_t headers_;
- NodeMap_t node_cache_;
- bool allow_cors_;
- bool allow_credentials_;
- bool allow_stat_cache_;
-
- friend class Mount;
- friend class MountNodeHttp;
- friend class MountHttpMock;
-};
-
-#endif // LIBRARIES_NACL_MOUNTS_MOUNT_HTTP_H_

Powered by Google App Engine
This is Rietveld 408576698