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

Unified Diff: chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc

Issue 15695003: [Quota][Clean up] Drop StorageType in GlobalUsageCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testfix Created 7 years, 7 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 | « no previous file | webkit/quota/quota_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc b/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc
index 2676d496c2d3f941734b9391811fa2f7ae74f422..bba4d13daf338331f8cef39aae4947599a322dc9 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc
@@ -43,17 +43,20 @@ void QuotaInternalsProxy::RequestInfo(
quota_manager_->GetGlobalUsage(
quota::kStorageTypeTemporary,
base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage,
- weak_factory_.GetWeakPtr()));
+ weak_factory_.GetWeakPtr(),
+ quota::kStorageTypeTemporary));
quota_manager_->GetGlobalUsage(
quota::kStorageTypePersistent,
base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage,
- weak_factory_.GetWeakPtr()));
+ weak_factory_.GetWeakPtr(),
+ quota::kStorageTypePersistent));
quota_manager_->GetGlobalUsage(
quota::kStorageTypeSyncable,
base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage,
- weak_factory_.GetWeakPtr()));
+ weak_factory_.GetWeakPtr(),
+ quota::kStorageTypeSyncable));
quota_manager_->DumpQuotaTable(
base::Bind(&QuotaInternalsProxy::DidDumpQuotaTable,
« no previous file with comments | « no previous file | webkit/quota/quota_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698