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

Unified Diff: content/browser/fileapi/obfuscated_file_util_unittest.cc

Issue 2592793002: Revert of Change how the quota system computes the total poolsize for temporary storage (Closed)
Patch Set: Created 4 years 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: content/browser/fileapi/obfuscated_file_util_unittest.cc
diff --git a/content/browser/fileapi/obfuscated_file_util_unittest.cc b/content/browser/fileapi/obfuscated_file_util_unittest.cc
index 8086c6bcd28dec6985980c2655ecb81145b66c93..9eb3d5fac3a1a5213b51081543853f61a7ca4548 100644
--- a/content/browser/fileapi/obfuscated_file_util_unittest.cc
+++ b/content/browser/fileapi/obfuscated_file_util_unittest.cc
@@ -167,14 +167,7 @@ class ObfuscatedFileUtilTest : public testing::Test {
quota_manager_ = new storage::QuotaManager(
false /* is_incognito */, data_dir_.GetPath(),
base::ThreadTaskRunnerHandle::Get().get(),
- base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get(),
- storage::GetQuotaSettingsFunc());
- storage::QuotaSettings settings;
- settings.per_host_quota = 25 * 1024 * 1024;
- settings.pool_size = settings.per_host_quota * 5;
- settings.must_remain_available = 10 * 1024 * 1024;
- settings.refresh_interval = base::TimeDelta::Max();
- quota_manager_->SetQuotaSettings(settings);
+ base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get());
// Every time we create a new sandbox_file_system helper,
// it creates another context, which creates another path manager,
« no previous file with comments | « content/browser/fileapi/file_system_browsertest.cc ('k') | content/browser/indexed_db/indexed_db_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698