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

Unified Diff: webkit/browser/fileapi/sandbox_file_system_backend_delegate.h

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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: webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
diff --git a/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h b/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
index 2b67cfcc3cbc81c20fb9ea58a03c4bc5ecc4b1f9..5209f001c69d1ed7bae183831039d60777cf1cad 100644
--- a/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
+++ b/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
@@ -31,16 +31,16 @@ class SandboxFileSystemBackendDelegateTest;
class SandboxFileSystemTestHelper;
}
-namespace quota {
+namespace storage {
class QuotaManagerProxy;
class SpecialStoragePolicy;
}
-namespace webkit_blob {
+namespace storage {
class FileStreamReader;
}
-namespace fileapi {
+namespace storage {
class AsyncFileUtil;
class FileStreamWriter;
@@ -80,10 +80,10 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate
static std::string GetTypeString(FileSystemType type);
SandboxFileSystemBackendDelegate(
- quota::QuotaManagerProxy* quota_manager_proxy,
+ storage::QuotaManagerProxy* quota_manager_proxy,
base::SequencedTaskRunner* file_task_runner,
const base::FilePath& profile_path,
- quota::SpecialStoragePolicy* special_storage_policy,
+ storage::SpecialStoragePolicy* special_storage_policy,
const FileSystemOptions& file_system_options);
virtual ~SandboxFileSystemBackendDelegate();
@@ -114,7 +114,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate
const FileSystemURL& url,
FileSystemContext* context,
base::File::Error* error_code) const;
- scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
+ scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
const FileSystemURL& url,
int64 offset,
const base::Time& expected_modification_time,
@@ -128,7 +128,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate
// FileSystemQuotaUtil overrides.
virtual base::File::Error DeleteOriginDataOnFileTaskRunner(
FileSystemContext* context,
- quota::QuotaManagerProxy* proxy,
+ storage::QuotaManagerProxy* proxy,
const GURL& origin_url,
FileSystemType type) OVERRIDE;
virtual void GetOriginsForTypeOnFileTaskRunner(
@@ -183,7 +183,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate
FileSystemUsageCache* usage_cache() { return file_system_usage_cache_.get(); }
SandboxQuotaObserver* quota_observer() { return quota_observer_.get(); }
- quota::SpecialStoragePolicy* special_storage_policy() {
+ storage::SpecialStoragePolicy* special_storage_policy() {
return special_storage_policy_.get();
}
@@ -232,7 +232,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate
scoped_ptr<SandboxQuotaObserver> quota_observer_;
scoped_ptr<QuotaReservationManager> quota_reservation_manager_;
- scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
+ scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_;
FileSystemOptions file_system_options_;
@@ -255,6 +255,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate
DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate);
};
-} // namespace fileapi
+} // namespace storage
#endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_backend.cc ('k') | webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698