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

Unified Diff: content/browser/appcache/appcache_storage.cc

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
Index: content/browser/appcache/appcache_storage.cc
diff --git a/content/browser/appcache/appcache_storage.cc b/content/browser/appcache/appcache_storage.cc
index d78339db07a0c58121abe5be12cd5222f3c28ae7..a51eaea9b56f0baf53f550d6f53ab8b703df6b8b 100644
--- a/content/browser/appcache/appcache_storage.cc
+++ b/content/browser/appcache/appcache_storage.cc
@@ -105,8 +105,9 @@ void AppCacheStorage::UpdateUsageMapAndNotify(
usage_map_.erase(origin);
if (new_usage != old_usage && service()->quota_manager_proxy()) {
service()->quota_manager_proxy()->NotifyStorageModified(
- quota::QuotaClient::kAppcache,
- origin, quota::kStorageTypeTemporary,
+ storage::QuotaClient::kAppcache,
+ origin,
+ storage::kStorageTypeTemporary,
new_usage - old_usage);
}
}
@@ -116,8 +117,9 @@ void AppCacheStorage::ClearUsageMapAndNotify() {
for (UsageMap::const_iterator iter = usage_map_.begin();
iter != usage_map_.end(); ++iter) {
service()->quota_manager_proxy()->NotifyStorageModified(
- quota::QuotaClient::kAppcache,
- iter->first, quota::kStorageTypeTemporary,
+ storage::QuotaClient::kAppcache,
+ iter->first,
+ storage::kStorageTypeTemporary,
-(iter->second));
}
}
@@ -128,8 +130,9 @@ void AppCacheStorage::NotifyStorageAccessed(const GURL& origin) {
if (service()->quota_manager_proxy() &&
usage_map_.find(origin) != usage_map_.end())
service()->quota_manager_proxy()->NotifyStorageAccessed(
- quota::QuotaClient::kAppcache,
- origin, quota::kStorageTypeTemporary);
+ storage::QuotaClient::kAppcache,
+ origin,
+ storage::kStorageTypeTemporary);
}
} // namespace content
« no previous file with comments | « content/browser/appcache/appcache_service_impl.cc ('k') | content/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698