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

Unified Diff: content/public/browser/storage_partition.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
« no previous file with comments | « content/public/browser/cookie_store_factory.h ('k') | content/public/common/storage_quota_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/storage_partition.h
diff --git a/content/public/browser/storage_partition.h b/content/public/browser/storage_partition.h
index 8e6fc9c5bae9dd84404f1b95f7e58901ca2f8d8f..f4e558f6ef647047058e57afc16da5081bf833f4 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -19,7 +19,7 @@ namespace base {
class Time;
}
-namespace fileapi {
+namespace storage {
class FileSystemContext;
}
@@ -27,12 +27,12 @@ namespace net {
class URLRequestContextGetter;
}
-namespace quota {
+namespace storage {
class QuotaManager;
class SpecialStoragePolicy;
}
-namespace webkit_database {
+namespace storage {
class DatabaseTracker;
}
@@ -55,10 +55,10 @@ class CONTENT_EXPORT StoragePartition {
virtual base::FilePath GetPath() = 0;
virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0;
- virtual quota::QuotaManager* GetQuotaManager() = 0;
+ virtual storage::QuotaManager* GetQuotaManager() = 0;
virtual AppCacheService* GetAppCacheService() = 0;
- virtual fileapi::FileSystemContext* GetFileSystemContext() = 0;
- virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
+ virtual storage::FileSystemContext* GetFileSystemContext() = 0;
+ virtual storage::DatabaseTracker* GetDatabaseTracker() = 0;
virtual DOMStorageContext* GetDOMStorageContext() = 0;
virtual IndexedDBContext* GetIndexedDBContext() = 0;
virtual ServiceWorkerContext* GetServiceWorkerContext() = 0;
@@ -74,11 +74,11 @@ class CONTENT_EXPORT StoragePartition {
static const uint32 REMOVE_DATA_MASK_SERVICE_WORKERS = 1 << 8;
static const uint32 REMOVE_DATA_MASK_ALL = 0xFFFFFFFF;
- // Corresponds to quota::kStorageTypeTemporary.
+ // Corresponds to storage::kStorageTypeTemporary.
static const uint32 QUOTA_MANAGED_STORAGE_MASK_TEMPORARY = 1 << 0;
- // Corresponds to quota::kStorageTypePersistent.
+ // Corresponds to storage::kStorageTypePersistent.
static const uint32 QUOTA_MANAGED_STORAGE_MASK_PERSISTENT = 1 << 1;
- // Corresponds to quota::kStorageTypeSyncable.
+ // Corresponds to storage::kStorageTypeSyncable.
static const uint32 QUOTA_MANAGED_STORAGE_MASK_SYNCABLE = 1 << 2;
static const uint32 QUOTA_MANAGED_STORAGE_MASK_ALL = 0xFFFFFFFF;
@@ -104,8 +104,7 @@ class CONTENT_EXPORT StoragePartition {
// A callback type to check if a given origin matches a storage policy.
// Can be passed empty/null where used, which means the origin will always
// match.
- typedef base::Callback<bool(const GURL&,
- quota::SpecialStoragePolicy*)>
+ typedef base::Callback<bool(const GURL&, storage::SpecialStoragePolicy*)>
OriginMatcherFunction;
// Similar to ClearDataForOrigin().
« no previous file with comments | « content/public/browser/cookie_store_factory.h ('k') | content/public/common/storage_quota_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698