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

Unified Diff: storage/browser/quota/quota_temporary_storage_evictor.cc

Issue 2052663003: Move implementation of QuotaManager.getVolumeInfo to base::SysInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: storage/browser/quota/quota_temporary_storage_evictor.cc
diff --git a/storage/browser/quota/quota_temporary_storage_evictor.cc b/storage/browser/quota/quota_temporary_storage_evictor.cc
index 9174377c8facbd82530eda1773f80bb64e2c5085..1df3c9ecb1a26e4d81694963402e6d06b9f94b82 100644
--- a/storage/browser/quota/quota_temporary_storage_evictor.cc
+++ b/storage/browser/quota/quota_temporary_storage_evictor.cc
@@ -176,7 +176,7 @@ void QuotaTemporaryStorageEvictor::ConsiderEviction() {
}
void QuotaTemporaryStorageEvictor::OnGotVolumeInfo(
- bool success, uint64_t available_space, uint64_t total_size) {
+ bool success, int64_t available_space, int64_t total_size) {
// Compute how much to keep free as a function of total disk size.
int64_t must_remain_available_space = success ?
static_cast<int64_t>(total_size * kMustRemainAvailableRatio) :
« base/sys_info_win.cc ('K') | « storage/browser/quota/quota_temporary_storage_evictor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698