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

Unified Diff: chrome/browser/sync_file_system/local/canned_syncable_file_system.cc

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 years, 10 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/sync_file_system/local/canned_syncable_file_system.cc
diff --git a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
index 4009f5522b149966563588fd3e405c2e541ad34b..577d57c04fe8e43d16f60370716657a9378d97e5 100644
--- a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
+++ b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
@@ -242,7 +242,8 @@ void CannedSyncableFileSystem::SetUp(QuotaMode quota_mode) {
if (quota_mode == QUOTA_ENABLED) {
quota_manager_ = new QuotaManager(
false /* is_incognito */, data_dir_.GetPath(), io_task_runner_.get(),
- base::ThreadTaskRunnerHandle::Get().get(), storage_policy.get());
+ base::ThreadTaskRunnerHandle::Get().get(), storage_policy.get(),
+ storage::GetQuotaSettingsFunc());
}
std::vector<std::string> additional_allowed_schemes;

Powered by Google App Engine
This is Rietveld 408576698