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

Unified Diff: content/browser/storage_partition_impl.cc

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 | « chrome/browser/extensions/data_deleter.cc ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index 389ec484f63792fd284410b78e24008c8df6c10d..f7cda5c42820279dfacf257189a1cd986608bdb8 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -455,7 +455,7 @@ void StoragePartitionImpl::QuotaManagedDataDeletionHelper::ClearDataOnIOThread(
&QuotaManagedDataDeletionHelper::DecrementTaskCountOnIO,
base::Unretained(this));
- if (quota_storage_remove_mask & kQuotaManagedPersistentStorage) {
+ if (quota_storage_remove_mask & QUOTA_MANAGED_STORAGE_MASK_PERSISTENT) {
IncrementTaskCountOnIO();
if (origins.empty()) { // Remove for all origins.
// Ask the QuotaManager for all origins with temporary quota modified
@@ -473,7 +473,7 @@ void StoragePartitionImpl::QuotaManagedDataDeletionHelper::ClearDataOnIOThread(
}
// Do the same for temporary quota.
- if (quota_storage_remove_mask & kQuotaManagedTemporaryStorage) {
+ if (quota_storage_remove_mask & QUOTA_MANAGED_STORAGE_MASK_TEMPORARY) {
IncrementTaskCountOnIO();
if (origins.empty()) { // Remove for all origins.
quota_manager->GetOriginsModifiedSince(
@@ -488,7 +488,7 @@ void StoragePartitionImpl::QuotaManagedDataDeletionHelper::ClearDataOnIOThread(
}
// Do the same for syncable quota.
- if (quota_storage_remove_mask & kQuotaManagedSyncableStorage) {
+ if (quota_storage_remove_mask & QUOTA_MANAGED_STORAGE_MASK_SYNCABLE) {
IncrementTaskCountOnIO();
if (origins.empty()) { // Remove for all origins.
quota_manager->GetOriginsModifiedSince(
« no previous file with comments | « chrome/browser/extensions/data_deleter.cc ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698