Austin Sullivan | 2b1e6e0 | 2022-12-07 18:10:20 | [diff] [blame] | 1 | // Copyright 2022 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FEATURES_H_ |
| 6 | #define CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FEATURES_H_ |
| 7 | |
| 8 | #include "base/feature_list.h" |
Nathan Memmott | f3f3527 | 2024-12-18 17:22:58 | [diff] [blame] | 9 | #include "base/metrics/field_trial_params.h" |
Austin Sullivan | b33295c | 2023-02-06 23:34:17 | [diff] [blame] | 10 | #include "build/build_config.h" |
Austin Sullivan | 2b1e6e0 | 2022-12-07 18:10:20 | [diff] [blame] | 11 | #include "content/common/content_export.h" |
| 12 | |
| 13 | namespace content::features { |
| 14 | |
Austin Sullivan | b33295c | 2023-02-06 23:34:17 | [diff] [blame] | 15 | // All features in alphabetical order, grouped by buildflag. The features should |
| 16 | // be documented alongside the definition of their values in the .cc file. |
Austin Sullivan | 2b1e6e0 | 2022-12-07 18:10:20 | [diff] [blame] | 17 | |
| 18 | // Alphabetical: |
Austin Sullivan | 2b1e6e0 | 2022-12-07 18:10:20 | [diff] [blame] | 19 | CONTENT_EXPORT BASE_DECLARE_FEATURE( |
Daseul Lee | c6780249 | 2023-12-07 19:52:52 | [diff] [blame] | 20 | kFileSystemAccessDirectoryIterationBlocklistCheck); |
Nathan Memmott | f3f3527 | 2024-12-18 17:22:58 | [diff] [blame] | 21 | CONTENT_EXPORT BASE_DECLARE_FEATURE(kFileSystemAccessObserverQuotaLimit); |
| 22 | CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM( |
| 23 | size_t, |
| 24 | kFileSystemObserverQuotaLimitLinuxBucketSize); |
| 25 | CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM( |
| 26 | size_t, |
| 27 | kFileSystemObserverQuotaLimitLinuxMin); |
| 28 | CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM( |
| 29 | double, |
| 30 | kFileSystemObserverQuotaLimitLinuxPercent); |
| 31 | CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM( |
| 32 | double, |
| 33 | kFileSystemObserverQuotaLimitMacPercent); |
| 34 | CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(size_t, |
| 35 | kFileSystemObserverQuotaLimitWindows); |
Austin Sullivan | 2b1e6e0 | 2022-12-07 18:10:20 | [diff] [blame] | 36 | |
Austin Sullivan | 2b1e6e0 | 2022-12-07 18:10:20 | [diff] [blame] | 37 | } // namespace content::features |
| 38 | |
| 39 | #endif // CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FEATURES_H_ |