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 6afd9a78356f138d36e4c5600ba9d215e984534c..55262ba9f81497f90958272c53cf0e2c0edc0e3a 100644 |
--- a/content/browser/fileapi/obfuscated_file_util_unittest.cc |
+++ b/content/browser/fileapi/obfuscated_file_util_unittest.cc |
@@ -167,7 +167,14 @@ 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()); |
+ base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get(), |
+ storage::GetTemporaryStorageConfigurationFunc()); |
+ storage::TemporaryStorageConfiguration config; |
+ config.per_host_quota = 25 * 1024 * 1024; |
+ config.pool_size = config.per_host_quota * 5; |
+ config.must_remain_available = 10 * 1024 * 1024; |
+ config.refresh_interval = base::TimeDelta::Max(); |
+ quota_manager_->SetTemporaryStorageConfiguration(config); |
// Every time we create a new sandbox_file_system helper, |
// it creates another context, which creates another path manager, |