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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 // on this list. | 911 // on this list. |
912 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist"; | 912 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist"; |
913 // Enum that specifies how often a user has to enter their password to continue | 913 // Enum that specifies how often a user has to enter their password to continue |
914 // using quick unlock. These values are the same as the ones in | 914 // using quick unlock. These values are the same as the ones in |
915 // chromeos::QuickUnlockPasswordConfirmationFrequency. | 915 // chromeos::QuickUnlockPasswordConfirmationFrequency. |
916 // 0 - six hours. Users will have to enter their password every six hours. | 916 // 0 - six hours. Users will have to enter their password every six hours. |
917 // 1 - twelve hours. Users will have to enter their password every twelve hours. | 917 // 1 - twelve hours. Users will have to enter their password every twelve hours. |
918 // 2 - day. Users will have to enter their password every day. | 918 // 2 - day. Users will have to enter their password every day. |
919 // 3 - week. Users will have to enter their password every week. | 919 // 3 - week. Users will have to enter their password every week. |
920 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; | 920 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; |
| 921 // Integer prefs indicating the minimum and maximum lengths of the lock screen |
| 922 // pin. |
| 923 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; |
| 924 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; |
| 925 // Boolean pref indicating whether users are allowed to set easy pins. |
| 926 const char kPinUnlockAllowWeakPins[] = "pin_unlock_allow_weak_pins"; |
921 #endif // defined(OS_CHROMEOS) | 927 #endif // defined(OS_CHROMEOS) |
922 | 928 |
923 // A boolean pref set to true if a Home button to open the Home pages should be | 929 // A boolean pref set to true if a Home button to open the Home pages should be |
924 // visible on the toolbar. | 930 // visible on the toolbar. |
925 const char kShowHomeButton[] = "browser.show_home_button"; | 931 const char kShowHomeButton[] = "browser.show_home_button"; |
926 | 932 |
927 // Boolean pref to define the default setting for "block offensive words". | 933 // Boolean pref to define the default setting for "block offensive words". |
928 // The old key value is kept to avoid unnecessary migration code. | 934 // The old key value is kept to avoid unnecessary migration code. |
929 const char kSpeechRecognitionFilterProfanities[] = | 935 const char kSpeechRecognitionFilterProfanities[] = |
930 "browser.speechinput_censor_results"; | 936 "browser.speechinput_censor_results"; |
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2291 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2297 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2292 | 2298 |
2293 // A list of origin trial features to disable by policy. | 2299 // A list of origin trial features to disable by policy. |
2294 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2300 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2295 | 2301 |
2296 // Policy that indicates the state of updates for the binary components. | 2302 // Policy that indicates the state of updates for the binary components. |
2297 const char kComponentUpdatesEnabled[] = | 2303 const char kComponentUpdatesEnabled[] = |
2298 "component_updates.component_updates_enabled"; | 2304 "component_updates.component_updates_enabled"; |
2299 | 2305 |
2300 } // namespace prefs | 2306 } // namespace prefs |
OLD | NEW |