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

Unified Diff: content/public/browser/storage_partition.h

Issue 21646002: Rename enum in StoragePartition according to style guide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the TODO. Created 7 years, 5 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/browser/storage_partition_impl_unittest.cc ('k') | no next file » | 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 a8e451c7a44878c0c4076c1c284faa795dce434a..f69feaa3bf8c4b3d6068be075bcba90e2e9701f0 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -68,19 +68,17 @@ class StoragePartition {
REMOVE_DATA_MASK_ALL = -1
};
- // TODO(lazyboy): Value in the enum should start with the enum prefix
- // (QUOTA_MANAGED_STORAGE_MASK_*).
enum QuotaManagedStorageMask {
// Corresponds to quota::kStorageTypeTemporary.
- kQuotaManagedTemporaryStorage = 1 << 0,
+ QUOTA_MANAGED_STORAGE_MASK_TEMPORARY = 1 << 0,
// Corresponds to quota::kStorageTypePersistent.
- kQuotaManagedPersistentStorage = 1 << 1,
+ QUOTA_MANAGED_STORAGE_MASK_PERSISTENT = 1 << 1,
// Corresponds to quota::kStorageTypeSyncable.
- kQuotaManagedSyncableStorage = 1 << 2,
+ QUOTA_MANAGED_STORAGE_MASK_SYNCABLE = 1 << 2,
- kAllStorage = -1
+ QUOTA_MANAGED_STORAGE_MASK_ALL = -1
};
// Starts an asynchronous task that does a best-effort clear the data
« no previous file with comments | « content/browser/storage_partition_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698