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

Unified Diff: chrome/browser/extensions/data_deleter.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/browsing_data/browsing_data_remover.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/data_deleter.cc
diff --git a/chrome/browser/extensions/data_deleter.cc b/chrome/browser/extensions/data_deleter.cc
index 00daa818488c55418ee44f0cce42750e143cbec2..8d53a42369c8458db5b87fbd06460c23f24910c6 100644
--- a/chrome/browser/extensions/data_deleter.cc
+++ b/chrome/browser/extensions/data_deleter.cc
@@ -45,7 +45,7 @@ void DataDeleter::StartDeleting(Profile* profile,
partition->ClearDataForOrigin(
StoragePartition::REMOVE_DATA_MASK_ALL &
(~StoragePartition::REMOVE_DATA_MASK_SHADER_CACHE),
- StoragePartition::kAllStorage,
+ StoragePartition::QUOTA_MANAGED_STORAGE_MASK_ALL,
storage_origin,
profile->GetRequestContextForExtensions());
} else {
@@ -54,7 +54,7 @@ void DataDeleter::StartDeleting(Profile* profile,
partition->ClearDataForOrigin(
StoragePartition::REMOVE_DATA_MASK_ALL &
(~StoragePartition::REMOVE_DATA_MASK_SHADER_CACHE),
- StoragePartition::kAllStorage,
+ StoragePartition::QUOTA_MANAGED_STORAGE_MASK_ALL,
storage_origin,
partition->GetURLRequestContext());
}
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698