Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: chrome/common/chrome_features.cc

Issue 1863663002: Use Finch flag instead of command line for Expect CT reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 namespace features { 7 namespace features {
8 8
9 // All features in alphabetical order. 9 // All features in alphabetical order.
10 10
11 #if defined(OS_WIN) || defined(OS_MACOSX) 11 #if defined(OS_WIN) || defined(OS_MACOSX)
12 // Enables automatic tab discarding, when the system is in low memory state. 12 // Enables automatic tab discarding, when the system is in low memory state.
13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", 13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding",
14 base::FEATURE_DISABLED_BY_DEFAULT}; 14 base::FEATURE_DISABLED_BY_DEFAULT};
15 #endif // defined(OS_WIN) || defined(OS_MACOSX) 15 #endif // defined(OS_WIN) || defined(OS_MACOSX)
16 16
17 // Enables Expect CT reporting, which sends reports for opted-in sites
18 // that don't serve sufficient Certificate Transparency information.
19 const base::Feature kExpectCTReporting{"ExpectCTReporting",
20 base::FEATURE_DISABLED_BY_DEFAULT};
21
17 // An experimental fullscreen prototype that allows pages to map browser and 22 // An experimental fullscreen prototype that allows pages to map browser and
18 // system-reserved keyboard shortcuts. 23 // system-reserved keyboard shortcuts.
19 const base::Feature kExperimentalKeyboardLockUI{ 24 const base::Feature kExperimentalKeyboardLockUI{
20 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT}; 25 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT};
21 26
22 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) 27 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
23 // Enables showing the "This computer will no longer receive Google Chrome 28 // Enables showing the "This computer will no longer receive Google Chrome
24 // updates" infobar instead of the "will soon stop receiving" infobar on 29 // updates" infobar instead of the "will soon stop receiving" infobar on
25 // deprecated systems. 30 // deprecated systems.
26 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ 31 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 base::FEATURE_DISABLED_BY_DEFAULT}; 66 base::FEATURE_DISABLED_BY_DEFAULT};
62 #endif 67 #endif
63 68
64 #if defined(OS_CHROMEOS) 69 #if defined(OS_CHROMEOS)
65 // Enables or disables the opt-in IME menu in the language settings page. 70 // Enables or disables the opt-in IME menu in the language settings page.
66 const base::Feature kOptInImeMenu{"OptInImeMenu", 71 const base::Feature kOptInImeMenu{"OptInImeMenu",
67 base::FEATURE_ENABLED_BY_DEFAULT}; 72 base::FEATURE_ENABLED_BY_DEFAULT};
68 #endif // defined(OS_CHROMEOS) 73 #endif // defined(OS_CHROMEOS)
69 74
70 } // namespace features 75 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698