blob: 530c71033f00c07c44df179043131a3975bbf191 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FEATURES_H_
#define CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FEATURES_H_
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
namespace content::features {
// All features in alphabetical order, grouped by buildflag. The features should
// be documented alongside the definition of their values in the .cc file.
// Alphabetical:
CONTENT_EXPORT BASE_DECLARE_FEATURE(
kFileSystemAccessDirectoryIterationBlocklistCheck);
CONTENT_EXPORT BASE_DECLARE_FEATURE(kFileSystemAccessObserverQuotaLimit);
CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(
size_t,
kFileSystemObserverQuotaLimitLinuxBucketSize);
CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(
size_t,
kFileSystemObserverQuotaLimitLinuxMin);
CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(
double,
kFileSystemObserverQuotaLimitLinuxPercent);
CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(
double,
kFileSystemObserverQuotaLimitMacPercent);
CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(size_t,
kFileSystemObserverQuotaLimitWindows);
} // namespace content::features
#endif // CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FEATURES_H_