chromium/storage/browser/quota/quota_features.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "storage/browser/quota/quota_features.h"
#include "base/feature_list.h"

namespace storage {

namespace features {

namespace {
constexpr int64_t kMBytes =;
}  // namespace

// Disables the `flush_to_media` setting for the quota SQLite db, which maps to
// F_FULLFSYNC on mac, which is known to have performance issues. Specifically,
// this is suspected of causing a high number of SQLite IO errors as encountered
// by CDM storage code.
BASE_FEATURE();

// A kill switch for the new approach to storage eviction on low disk space. See
// crbug.com/1382847
BASE_FEATURE();

// Enables Storage Pressure Event.
BASE_FEATURE();

// Enables customized storage quota settings for embedders.
BASE_FEATURE();
constexpr base::FeatureParam<double> kMustRemainAvailableBytes{};
constexpr base::FeatureParam<double> kMustRemainAvailableRatio{};
constexpr base::FeatureParam<double> kPoolSizeBytes{};
constexpr base::FeatureParam<double> kPoolSizeRatio{};
constexpr base::FeatureParam<double> kShouldRemainAvailableBytes{};
constexpr base::FeatureParam<double> kShouldRemainAvailableRatio{};

BASE_FEATURE();

BASE_FEATURE();

}  // namespace features
}  // namespace storage