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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 // An integer pref. Holds one of several values: | 902 // An integer pref. Holds one of several values: |
903 // 0: Supported. Device is in supported state. | 903 // 0: Supported. Device is in supported state. |
904 // 1: Security Only. Device is in Security-Only update (after initial 5 years). | 904 // 1: Security Only. Device is in Security-Only update (after initial 5 years). |
905 // 2: EOL. Device is End of Life(No more updates expected). | 905 // 2: EOL. Device is End of Life(No more updates expected). |
906 // This value needs to be consistent with EndOfLifeStatus enum. | 906 // This value needs to be consistent with EndOfLifeStatus enum. |
907 const char kEolStatus[] = "eol_status"; | 907 const char kEolStatus[] = "eol_status"; |
908 | 908 |
909 // Boolean pref indicating the End Of Life notification was dismissed by the | 909 // Boolean pref indicating the End Of Life notification was dismissed by the |
910 // user. | 910 // user. |
911 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; | 911 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; |
| 912 |
| 913 // Integer prefs indicating the minimum and maximum lengths of the lock screen |
| 914 // pin. |
| 915 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; |
| 916 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; |
| 917 // Boolean pref indicating whether users are allowed to set easy pins. |
| 918 const char kPinUnlockAllowWeakPins[] = "pin_unlock_allow_weak_pins"; |
912 #endif // defined(OS_CHROMEOS) | 919 #endif // defined(OS_CHROMEOS) |
913 | 920 |
914 // A boolean pref set to true if a Home button to open the Home pages should be | 921 // A boolean pref set to true if a Home button to open the Home pages should be |
915 // visible on the toolbar. | 922 // visible on the toolbar. |
916 const char kShowHomeButton[] = "browser.show_home_button"; | 923 const char kShowHomeButton[] = "browser.show_home_button"; |
917 | 924 |
918 // Boolean pref to define the default setting for "block offensive words". | 925 // Boolean pref to define the default setting for "block offensive words". |
919 // The old key value is kept to avoid unnecessary migration code. | 926 // The old key value is kept to avoid unnecessary migration code. |
920 const char kSpeechRecognitionFilterProfanities[] = | 927 const char kSpeechRecognitionFilterProfanities[] = |
921 "browser.speechinput_censor_results"; | 928 "browser.speechinput_censor_results"; |
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2274 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2281 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2275 | 2282 |
2276 // A list of origin trial features to disable by policy. | 2283 // A list of origin trial features to disable by policy. |
2277 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2284 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2278 | 2285 |
2279 // Policy that indicates the state of updates for the binary components. | 2286 // Policy that indicates the state of updates for the binary components. |
2280 const char kComponentUpdatesEnabled[] = | 2287 const char kComponentUpdatesEnabled[] = |
2281 "component_updates.component_updates_enabled"; | 2288 "component_updates.component_updates_enabled"; |
2282 | 2289 |
2283 } // namespace prefs | 2290 } // namespace prefs |
OLD | NEW |