Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: chrome/common/pref_names.cc

Issue 2374303002: cros: Added a new function to quick unlock api for checking unfinished pins. (Closed)
Patch Set: Rebased. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed";
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 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
2330 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2336 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2331 "search_geolocation_pre_disclosure_metrics_recorded"; 2337 "search_geolocation_pre_disclosure_metrics_recorded";
2332 2338
2333 // Whether the metrics for the state of geolocation post-disclosure being shown 2339 // Whether the metrics for the state of geolocation post-disclosure being shown
2334 // have been recorded. 2340 // have been recorded.
2335 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2341 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2336 "search_geolocation_post_disclosure_metrics_recorded"; 2342 "search_geolocation_post_disclosure_metrics_recorded";
2337 #endif 2343 #endif
2338 2344
2339 } // namespace prefs 2345 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698