summaryrefslogtreecommitdiffstats
path: root/webkit/chromeos/fileapi/remote_file_system_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/chromeos/fileapi/remote_file_system_proxy.h')
-rw-r--r--webkit/chromeos/fileapi/remote_file_system_proxy.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/webkit/chromeos/fileapi/remote_file_system_proxy.h b/webkit/chromeos/fileapi/remote_file_system_proxy.h
new file mode 100644
index 0000000..c6dae7f
--- /dev/null
+++ b/webkit/chromeos/fileapi/remote_file_system_proxy.h
@@ -0,0 +1,31 @@
+// 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 WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
+#define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
+
+#include "base/callback.h"
+#include "base/memory/ref_counted.h"
+#include "webkit/fileapi/file_system_operation_interface.h"
+
+class GURL;
+
+namespace fileapi {
+
+// The interface class for remote file system proxy.
+class RemoteFileSystemProxyInterface :
+ public base::RefCountedThreadSafe<RemoteFileSystemProxyInterface> {
+ public:
+ virtual ~RemoteFileSystemProxyInterface() {}
+
+ virtual void GetFileInfo(const GURL& path,
+ const FileSystemOperationInterface::GetMetadataCallback& callback) = 0;
+ virtual void ReadDirectory(const GURL& path,
+ const FileSystemOperationInterface::ReadDirectoryCallback& callback) = 0;
+ // TODO(zelidrag): More methods to follow as we implement other parts of FSO.
+};
+
+} // namespace chromeos
+
+#endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_