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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 // on this list. | 917 // on this list. |
918 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist"; | 918 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist"; |
919 // Enum that specifies how often a user has to enter their password to continue | 919 // Enum that specifies how often a user has to enter their password to continue |
920 // using quick unlock. These values are the same as the ones in | 920 // using quick unlock. These values are the same as the ones in |
921 // chromeos::QuickUnlockPasswordConfirmationFrequency. | 921 // chromeos::QuickUnlockPasswordConfirmationFrequency. |
922 // 0 - six hours. Users will have to enter their password every six hours. | 922 // 0 - six hours. Users will have to enter their password every six hours. |
923 // 1 - twelve hours. Users will have to enter their password every twelve hours. | 923 // 1 - twelve hours. Users will have to enter their password every twelve hours. |
924 // 2 - day. Users will have to enter their password every day. | 924 // 2 - day. Users will have to enter their password every day. |
925 // 3 - week. Users will have to enter their password every week. | 925 // 3 - week. Users will have to enter their password every week. |
926 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; | 926 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; |
| 927 // Integer prefs indicating the minimum and maximum lengths of the lock screen |
| 928 // pin. |
| 929 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; |
| 930 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; |
| 931 // Boolean pref indicating whether users are allowed to set easy pins. |
| 932 const char kPinUnlockAllowWeakPins[] = "pin_unlock_allow_weak_pins"; |
927 #endif // defined(OS_CHROMEOS) | 933 #endif // defined(OS_CHROMEOS) |
928 | 934 |
929 // A boolean pref set to true if a Home button to open the Home pages should be | 935 // A boolean pref set to true if a Home button to open the Home pages should be |
930 // visible on the toolbar. | 936 // visible on the toolbar. |
931 const char kShowHomeButton[] = "browser.show_home_button"; | 937 const char kShowHomeButton[] = "browser.show_home_button"; |
932 | 938 |
933 // Boolean pref to define the default setting for "block offensive words". | 939 // Boolean pref to define the default setting for "block offensive words". |
934 // The old key value is kept to avoid unnecessary migration code. | 940 // The old key value is kept to avoid unnecessary migration code. |
935 const char kSpeechRecognitionFilterProfanities[] = | 941 const char kSpeechRecognitionFilterProfanities[] = |
936 "browser.speechinput_censor_results"; | 942 "browser.speechinput_censor_results"; |
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2326 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = | 2332 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = |
2327 "search_geolocation_pre_disclosure_metrics_recorded"; | 2333 "search_geolocation_pre_disclosure_metrics_recorded"; |
2328 | 2334 |
2329 // Whether the metrics for the state of geolocation post-disclosure being shown | 2335 // Whether the metrics for the state of geolocation post-disclosure being shown |
2330 // have been recorded. | 2336 // have been recorded. |
2331 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = | 2337 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = |
2332 "search_geolocation_post_disclosure_metrics_recorded"; | 2338 "search_geolocation_post_disclosure_metrics_recorded"; |
2333 #endif | 2339 #endif |
2334 | 2340 |
2335 } // namespace prefs | 2341 } // namespace prefs |
OLD | NEW |