Index: storage/browser/fileapi/plugin_private_file_system_backend.h |
diff --git a/webkit/browser/fileapi/plugin_private_file_system_backend.h b/storage/browser/fileapi/plugin_private_file_system_backend.h |
similarity index 81% |
rename from webkit/browser/fileapi/plugin_private_file_system_backend.h |
rename to storage/browser/fileapi/plugin_private_file_system_backend.h |
index 35612b16747b9213bcfc1cad61d42d861ac9558a..a61b55735ac7a011e7975f05714d9ec5cd1aa938 100644 |
--- a/webkit/browser/fileapi/plugin_private_file_system_backend.h |
+++ b/storage/browser/fileapi/plugin_private_file_system_backend.h |
@@ -10,9 +10,9 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
-#include "webkit/browser/fileapi/file_system_backend.h" |
-#include "webkit/browser/fileapi/file_system_options.h" |
-#include "webkit/browser/fileapi/file_system_quota_util.h" |
+#include "storage/browser/fileapi/file_system_backend.h" |
+#include "storage/browser/fileapi/file_system_options.h" |
+#include "storage/browser/fileapi/file_system_quota_util.h" |
namespace base { |
class SequencedTaskRunner; |
@@ -26,11 +26,11 @@ namespace quota { |
class SpecialStoragePolicy; |
} |
-namespace fileapi { |
+namespace storage { |
class ObfuscatedFileUtil; |
-class WEBKIT_STORAGE_BROWSER_EXPORT PluginPrivateFileSystemBackend |
+class STORAGE_EXPORT PluginPrivateFileSystemBackend |
: public FileSystemBackend, |
public FileSystemQuotaUtil { |
public: |
@@ -50,13 +50,12 @@ class WEBKIT_STORAGE_BROWSER_EXPORT PluginPrivateFileSystemBackend |
// isolation, e.g. name, MIME type etc. |
// NOTE: |plugin_id| must be sanitized ASCII string that doesn't |
// include *any* dangerous character like '/'. |
- void OpenPrivateFileSystem( |
- const GURL& origin_url, |
- FileSystemType type, |
- const std::string& filesystem_id, |
- const std::string& plugin_id, |
- OpenFileSystemMode mode, |
- const StatusCallback& callback); |
+ void OpenPrivateFileSystem(const GURL& origin_url, |
+ FileSystemType type, |
+ const std::string& filesystem_id, |
+ const std::string& plugin_id, |
+ OpenFileSystemMode mode, |
+ const StatusCallback& callback); |
// FileSystemBackend overrides. |
virtual bool CanHandleType(FileSystemType type) const OVERRIDE; |
@@ -73,7 +72,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT PluginPrivateFileSystemBackend |
FileSystemContext* context, |
base::File::Error* error_code) const OVERRIDE; |
virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; |
- virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
+ virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( |
const FileSystemURL& url, |
int64 offset, |
const base::Time& expected_modification_time, |
@@ -97,14 +96,12 @@ class WEBKIT_STORAGE_BROWSER_EXPORT PluginPrivateFileSystemBackend |
FileSystemType type, |
const std::string& host, |
std::set<GURL>* origins) OVERRIDE; |
- virtual int64 GetOriginUsageOnFileTaskRunner( |
- FileSystemContext* context, |
- const GURL& origin_url, |
- FileSystemType type) OVERRIDE; |
+ virtual int64 GetOriginUsageOnFileTaskRunner(FileSystemContext* context, |
+ const GURL& origin_url, |
+ FileSystemType type) OVERRIDE; |
virtual scoped_refptr<QuotaReservation> |
- CreateQuotaReservationOnFileTaskRunner( |
- const GURL& origin_url, |
- FileSystemType type) OVERRIDE; |
+ CreateQuotaReservationOnFileTaskRunner(const GURL& origin_url, |
+ FileSystemType type) OVERRIDE; |
virtual void AddFileUpdateObserver( |
FileSystemType type, |
FileUpdateObserver* observer, |
@@ -140,6 +137,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT PluginPrivateFileSystemBackend |
DISALLOW_COPY_AND_ASSIGN(PluginPrivateFileSystemBackend); |
}; |
-} // namespace fileapi |
+} // namespace storage |
#endif // WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ |