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 8f6c6179a0faf87ebbaea8da6e488d2f5ae70d23..5adfea9fbe7f94037aa6910f4146351cffd25bd6 100644 |
--- a/chrome/browser/ui/webui/quota_internals_proxy.cc |
+++ b/chrome/browser/ui/webui/quota_internals_proxy.cc |
@@ -50,6 +50,11 @@ void QuotaInternalsProxy::RequestInfo( |
base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage, |
weak_factory_.GetWeakPtr())); |
+ quota_manager_->GetGlobalUsage( |
+ quota::kStorageTypeSyncable, |
+ base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage, |
+ weak_factory_.GetWeakPtr())); |
+ |
quota_manager_->DumpQuotaTable( |
base::Bind(&QuotaInternalsProxy::DidDumpQuotaTable, |
weak_factory_.GetWeakPtr())); |
@@ -150,7 +155,8 @@ void QuotaInternalsProxy::DidGetHostUsage(const std::string& host, |
quota::StorageType type, |
int64 usage) { |
DCHECK(type == quota::kStorageTypeTemporary || |
- type == quota::kStorageTypePersistent); |
+ type == quota::kStorageTypePersistent || |
+ type == quota::kStorageTypeSyncable); |
PerHostStorageInfo info(host, type); |
info.set_usage(usage); |