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

Unified Diff: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc

Issue 1125123008: Files.app: Use quotaBytesUsedAggregate to know the actual available space. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/test/data/drive/about.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
index 7557f24efcfe98132dbe352e5416ce8a44d28289..6393213c17179e239c449b9adf6fdded849e695d 100644
--- a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
@@ -322,7 +322,7 @@ void DriveInternalsWebUIHandler::OnGetAboutResource(
about_resource.SetDouble("account-quota-total",
parsed_about_resource->quota_bytes_total());
about_resource.SetDouble("account-quota-used",
- parsed_about_resource->quota_bytes_used());
+ parsed_about_resource->quota_bytes_used_aggregate());
about_resource.SetDouble("account-largest-changestamp-remote",
parsed_about_resource->largest_change_id());
about_resource.SetString("root-resource-id",
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/test/data/drive/about.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698