Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / libraries / nacl_io / httpfs / http_fs.h
index 887ad9f..b481cc4 100644 (file)
@@ -18,8 +18,8 @@ class HttpFs : public Filesystem {
  public:
   typedef std::map<std::string, ScopedNode> NodeMap_t;
 
-  virtual Error Access(const Path& path, int a_mode);
-  virtual Error Open(const Path& path, int mode, ScopedNode* out_node);
+  virtual Error OpenWithMode(const Path& path, int open_flags, mode_t mode,
+                             ScopedNode* out_node);
   virtual Error Unlink(const Path& path);
   virtual Error Mkdir(const Path& path, int permissions);
   virtual Error Rmdir(const Path& path);
@@ -35,6 +35,7 @@ class HttpFs : public Filesystem {
 
   virtual Error Init(const FsInitArgs& args);
   virtual void Destroy();
+  ScopedNode FindExistingNode(const Path& path);
   Error FindOrCreateDir(const Path& path, ScopedNode* out_node);
   Error LoadManifest(const std::string& path, char** out_manifest);
   Error ParseManifest(const char* text);
@@ -54,6 +55,7 @@ class HttpFs : public Filesystem {
   bool allow_credentials_;
   bool cache_stat_;
   bool cache_content_;
+  bool is_blob_url_;
 
   friend class TypedFsFactory<HttpFs>;
   friend class HttpFsNode;