| 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 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 // An integer pref. Holds one of several values: | 898 // An integer pref. Holds one of several values: |
| 899 // 0: Supported. Device is in supported state. | 899 // 0: Supported. Device is in supported state. |
| 900 // 1: Security Only. Device is in Security-Only update (after initial 5 years). | 900 // 1: Security Only. Device is in Security-Only update (after initial 5 years). |
| 901 // 2: EOL. Device is End of Life(No more updates expected). | 901 // 2: EOL. Device is End of Life(No more updates expected). |
| 902 // This value needs to be consistent with EndOfLifeStatus enum. | 902 // This value needs to be consistent with EndOfLifeStatus enum. |
| 903 const char kEolStatus[] = "eol_status"; | 903 const char kEolStatus[] = "eol_status"; |
| 904 | 904 |
| 905 // Boolean pref indicating the End Of Life notification was dismissed by the | 905 // Boolean pref indicating the End Of Life notification was dismissed by the |
| 906 // user. | 906 // user. |
| 907 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; | 907 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; |
| 908 |
| 909 // A list of allowed quick unlock modes. A quick unlock mode can only be used if |
| 910 // its type is on this list, or if type all (all quick unlock modes enabled) is |
| 911 // on this list. |
| 912 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist"; |
| 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 |
| 915 // chromeos::QuickUnlockPasswordConfirmationFrequency. |
| 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. |
| 918 // 2 - day. Users will have to enter their password every day. |
| 919 // 3 - week. Users will have to enter their password every week. |
| 920 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; |
| 908 #endif // defined(OS_CHROMEOS) | 921 #endif // defined(OS_CHROMEOS) |
| 909 | 922 |
| 910 // A boolean pref set to true if a Home button to open the Home pages should be | 923 // A boolean pref set to true if a Home button to open the Home pages should be |
| 911 // visible on the toolbar. | 924 // visible on the toolbar. |
| 912 const char kShowHomeButton[] = "browser.show_home_button"; | 925 const char kShowHomeButton[] = "browser.show_home_button"; |
| 913 | 926 |
| 914 // Boolean pref to define the default setting for "block offensive words". | 927 // Boolean pref to define the default setting for "block offensive words". |
| 915 // The old key value is kept to avoid unnecessary migration code. | 928 // The old key value is kept to avoid unnecessary migration code. |
| 916 const char kSpeechRecognitionFilterProfanities[] = | 929 const char kSpeechRecognitionFilterProfanities[] = |
| 917 "browser.speechinput_censor_results"; | 930 "browser.speechinput_censor_results"; |
| (...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2278 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2291 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
| 2279 | 2292 |
| 2280 // A list of origin trial features to disable by policy. | 2293 // A list of origin trial features to disable by policy. |
| 2281 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2294 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
| 2282 | 2295 |
| 2283 // Policy that indicates the state of updates for the binary components. | 2296 // Policy that indicates the state of updates for the binary components. |
| 2284 const char kComponentUpdatesEnabled[] = | 2297 const char kComponentUpdatesEnabled[] = |
| 2285 "component_updates.component_updates_enabled"; | 2298 "component_updates.component_updates_enabled"; |
| 2286 | 2299 |
| 2287 } // namespace prefs | 2300 } // namespace prefs |
| OLD | NEW |