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

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

Issue 10948006: Cleanup: quota::HostQuotaCallback do not need to pass host and type as arguments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unittests somehow missed in previous patch 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
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 b331ee15cbb9b79408c07deb9850f6bf544a8e52..a9c5c09563fa52da847e1ef4fece4a0448a5abaf 100644
--- a/chrome/browser/ui/webui/quota_internals_proxy.cc
+++ b/chrome/browser/ui/webui/quota_internals_proxy.cc
@@ -212,7 +212,7 @@ void QuotaInternalsProxy::GetHostUsage(const std::string& host,
quota_manager_->GetHostUsage(
host, type,
base::Bind(&QuotaInternalsProxy::DidGetHostUsage,
- weak_factory_.GetWeakPtr()));
+ weak_factory_.GetWeakPtr(), host, type));
}
} // namespace quota_internals

Powered by Google App Engine
This is Rietveld 408576698