OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 // An integer pref. Holds one of several values: | 890 // An integer pref. Holds one of several values: |
891 // 0: Supported. Device is in supported state. | 891 // 0: Supported. Device is in supported state. |
892 // 1: Security Only. Device is in Security-Only update (after initial 5 years). | 892 // 1: Security Only. Device is in Security-Only update (after initial 5 years). |
893 // 2: EOL. Device is End of Life(No more updates expected). | 893 // 2: EOL. Device is End of Life(No more updates expected). |
894 // This value needs to be consistent with EndOfLifeStatus enum. | 894 // This value needs to be consistent with EndOfLifeStatus enum. |
895 const char kEolStatus[] = "eol_status"; | 895 const char kEolStatus[] = "eol_status"; |
896 | 896 |
897 // Boolean pref indicating the End Of Life notification was dismissed by the | 897 // Boolean pref indicating the End Of Life notification was dismissed by the |
898 // user. | 898 // user. |
899 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; | 899 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; |
| 900 |
| 901 // Integer prefs indicating the minimum and maximum lengths of the lock screen |
| 902 // pin. |
| 903 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; |
| 904 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; |
| 905 // Boolean pref indicating whether users are allowed to set easy pins. |
| 906 const char kPinUnlockAllowWeakPins[] = "pin_unlock_allow_weak_pins"; |
900 #endif // defined(OS_CHROMEOS) | 907 #endif // defined(OS_CHROMEOS) |
901 | 908 |
902 // A boolean pref set to true if a Home button to open the Home pages should be | 909 // A boolean pref set to true if a Home button to open the Home pages should be |
903 // visible on the toolbar. | 910 // visible on the toolbar. |
904 const char kShowHomeButton[] = "browser.show_home_button"; | 911 const char kShowHomeButton[] = "browser.show_home_button"; |
905 | 912 |
906 // Boolean pref to define the default setting for "block offensive words". | 913 // Boolean pref to define the default setting for "block offensive words". |
907 // The old key value is kept to avoid unnecessary migration code. | 914 // The old key value is kept to avoid unnecessary migration code. |
908 const char kSpeechRecognitionFilterProfanities[] = | 915 const char kSpeechRecognitionFilterProfanities[] = |
909 "browser.speechinput_censor_results"; | 916 "browser.speechinput_censor_results"; |
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2258 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2265 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2259 | 2266 |
2260 // A list of origin trial features to disable by policy. | 2267 // A list of origin trial features to disable by policy. |
2261 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2268 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2262 | 2269 |
2263 // Policy that indicates the state of updates for the binary components. | 2270 // Policy that indicates the state of updates for the binary components. |
2264 const char kComponentUpdatesEnabled[] = | 2271 const char kComponentUpdatesEnabled[] = |
2265 "component_updates.component_updates_enabled"; | 2272 "component_updates.component_updates_enabled"; |
2266 | 2273 |
2267 } // namespace prefs | 2274 } // namespace prefs |
OLD | NEW |