| 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 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2316 // How many times the search geolocation disclosure has been shown. | 2322 // How many times the search geolocation disclosure has been shown. |
| 2317 const char kSearchGeolocationDisclosureShownCount[] = | 2323 const char kSearchGeolocationDisclosureShownCount[] = |
| 2318 "search_geolocation_disclosure.shown_count"; | 2324 "search_geolocation_disclosure.shown_count"; |
| 2319 | 2325 |
| 2320 // When the disclosure was shown last. | 2326 // When the disclosure was shown last. |
| 2321 const char kSearchGeolocationDisclosureLastShowDate[] = | 2327 const char kSearchGeolocationDisclosureLastShowDate[] = |
| 2322 "search_geolocation_disclosure.last_show_date"; | 2328 "search_geolocation_disclosure.last_show_date"; |
| 2323 #endif | 2329 #endif |
| 2324 | 2330 |
| 2325 } // namespace prefs | 2331 } // namespace prefs |
| OLD | NEW |