Commit f39940a5 authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

Quota: Remove obsolete comments from quota_settings.cc.

Change-Id: Id118c5a81446635f02fc23ae25ffd007ec400c1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1945330
Commit-Queue: Jarryd Goodman <jarrydg@chromium.org>
Reviewed-by: default avatarJarryd Goodman <jarrydg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720603}
parent e4f4dbb7
...@@ -69,11 +69,8 @@ base::Optional<storage::QuotaSettings> CalculateNominalDynamicSettings( ...@@ -69,11 +69,8 @@ base::Optional<storage::QuotaSettings> CalculateNominalDynamicSettings(
device_info_helper->AmountOfPhysicalMemory()); device_info_helper->AmountOfPhysicalMemory());
} }
// The fraction of the device's storage the browser is willing to // The fraction of the device's storage the browser is willing to use for
// use for temporary storage. // temporary storage.
// Check Finch for an experimental value to use as temporary pool size ratio
// if experiment is enabled, otherwise fallback to ~66% for chromeOS and
// ~33% otherwise.
const double kTemporaryPoolSizeRatio = const double kTemporaryPoolSizeRatio =
base::FeatureList::IsEnabled(features::kQuotaUnlimitedPoolSize) base::FeatureList::IsEnabled(features::kQuotaUnlimitedPoolSize)
? 1.0 ? 1.0
...@@ -110,8 +107,7 @@ base::Optional<storage::QuotaSettings> CalculateNominalDynamicSettings( ...@@ -110,8 +107,7 @@ base::Optional<storage::QuotaSettings> CalculateNominalDynamicSettings(
const int64_t kMustRemainAvailableFixed = 1024 * kMBytes; // 1GB const int64_t kMustRemainAvailableFixed = 1024 * kMBytes; // 1GB
const double kMustRemainAvailableRatio = 0.01; // 1% const double kMustRemainAvailableRatio = 0.01; // 1%
// Determines the portion of the temp pool that can be // The fraction of the temporary pool that can be utilized by a single host.
// utilized by a single host (ie. 5 for 20%).
const double kPerHostTemporaryRatio = const double kPerHostTemporaryRatio =
base::FeatureList::IsEnabled(features::kQuotaUnlimitedPoolSize) base::FeatureList::IsEnabled(features::kQuotaUnlimitedPoolSize)
? 1.0 ? 1.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment