• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 BASE_FEATURES_H_
6 #define BASE_FEATURES_H_
7 
8 #include "base/base_export.h"
9 #include "base/feature_list.h"
10 
11 namespace base::features {
12 
13 // All features in alphabetical order. The features should be documented
14 // alongside the definition of their values in the .cc file.
15 
16 // Alphabetical:
17 BASE_EXPORT BASE_DECLARE_FEATURE(kEnforceNoExecutableFileHandles);
18 
19 BASE_EXPORT BASE_DECLARE_FEATURE(kOptimizeDataUrls);
20 
21 BASE_EXPORT BASE_DECLARE_FEATURE(kSupportsUserDataFlatHashMap);
22 
23 #if BUILDFLAG(IS_ANDROID)
24 BASE_EXPORT BASE_DECLARE_FEATURE(kPartialLowEndModeOnMidRangeDevices);
25 #endif
26 
27 }  // namespace base::features
28 
29 #endif  // BASE_FEATURES_H_
30