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

Unified Diff: chrome/browser/chromeos/drive/file_system.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 | « no previous file | chrome/browser/drive/drive_api_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/file_system.cc
diff --git a/chrome/browser/chromeos/drive/file_system.cc b/chrome/browser/chromeos/drive/file_system.cc
index a09eac46e9f69535b80110d025195303660a420f..664908e449a2bbaca932804cc67a89798707abda 100644
--- a/chrome/browser/chromeos/drive/file_system.cc
+++ b/chrome/browser/chromeos/drive/file_system.cc
@@ -712,9 +712,8 @@ void FileSystem::OnGetAboutResource(
}
DCHECK(about_resource);
- callback.Run(FILE_ERROR_OK,
- about_resource->quota_bytes_total(),
- about_resource->quota_bytes_used());
+ callback.Run(FILE_ERROR_OK, about_resource->quota_bytes_total(),
+ about_resource->quota_bytes_used_aggregate());
}
void FileSystem::GetShareUrl(const base::FilePath& file_path,
« no previous file with comments | « no previous file | chrome/browser/drive/drive_api_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698