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

Unified Diff: webkit/appcache/appcache_quota_client.cc

Issue 13357004: Clear browsing data clears data for type kStorageTypeTemporary but not for kStorageTypeSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 7 years, 8 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/storage_partition.h ('k') | webkit/fileapi/local_file_system_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_quota_client.cc
diff --git a/webkit/appcache/appcache_quota_client.cc b/webkit/appcache/appcache_quota_client.cc
index cedcc3e5f189d781709b58e42636969c21d138f5..a485610ba7c16955f78bda676e695a85e474bffd 100644
--- a/webkit/appcache/appcache_quota_client.cc
+++ b/webkit/appcache/appcache_quota_client.cc
@@ -80,7 +80,7 @@ void AppCacheQuotaClient::GetOriginUsage(
return;
}
- if (type == quota::kStorageTypePersistent) {
+ if (type != quota::kStorageTypeTemporary) {
callback.Run(0);
return;
}
@@ -130,7 +130,7 @@ void AppCacheQuotaClient::DeleteOriginData(const GURL& origin,
}
current_delete_request_callback_ = callback;
- if (type == quota::kStorageTypePersistent) {
+ if (type != quota::kStorageTypeTemporary) {
DidDeleteAppCachesForOrigin(net::OK);
return;
}
@@ -173,7 +173,7 @@ void AppCacheQuotaClient::GetOriginsHelper(
return;
}
- if (type == quota::kStorageTypePersistent) {
+ if (type != quota::kStorageTypeTemporary) {
callback.Run(std::set<GURL>(), type);
return;
}
« no previous file with comments | « content/public/browser/storage_partition.h ('k') | webkit/fileapi/local_file_system_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698