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

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

Issue 10958032: Merged HostQuotaCallback into QuotaCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Kinuko Review #1 Created 8 years, 3 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/ui/webui/quota_internals_proxy.h ('k') | 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_proxy.cc
diff --git a/chrome/browser/ui/webui/quota_internals_proxy.cc b/chrome/browser/ui/webui/quota_internals_proxy.cc
index a9c5c09563fa52da847e1ef4fece4a0448a5abaf..8f6c6179a0faf87ebbaea8da6e488d2f5ae70d23 100644
--- a/chrome/browser/ui/webui/quota_internals_proxy.cc
+++ b/chrome/browser/ui/webui/quota_internals_proxy.cc
@@ -38,7 +38,7 @@ void QuotaInternalsProxy::RequestInfo(
quota_manager_->GetTemporaryGlobalQuota(
base::Bind(&QuotaInternalsProxy::DidGetGlobalQuota,
- weak_factory_.GetWeakPtr()));
+ weak_factory_.GetWeakPtr(), quota::kStorageTypeTemporary));
quota_manager_->GetGlobalUsage(
quota::kStorageTypeTemporary,
@@ -93,8 +93,8 @@ void QuotaInternalsProxy::DidGetAvailableSpace(quota::QuotaStatusCode status,
ReportAvailableSpace(space);
}
-void QuotaInternalsProxy::DidGetGlobalQuota(quota::QuotaStatusCode status,
- quota::StorageType type,
+void QuotaInternalsProxy::DidGetGlobalQuota(quota::StorageType type,
+ quota::QuotaStatusCode status,
int64 quota) {
if (status == quota::kQuotaStatusOk) {
GlobalStorageInfo info(type);
« no previous file with comments | « chrome/browser/ui/webui/quota_internals_proxy.h ('k') | webkit/quota/quota_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698