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

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: Fixed patch set 15 errors. Created 4 years, 1 month 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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 // on this list. 912 // on this list.
913 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist"; 913 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist";
914 // Enum that specifies how often a user has to enter their password to continue 914 // Enum that specifies how often a user has to enter their password to continue
915 // using quick unlock. These values are the same as the ones in 915 // using quick unlock. These values are the same as the ones in
916 // chromeos::QuickUnlockPasswordConfirmationFrequency. 916 // chromeos::QuickUnlockPasswordConfirmationFrequency.
917 // 0 - six hours. Users will have to enter their password every six hours. 917 // 0 - six hours. Users will have to enter their password every six hours.
918 // 1 - twelve hours. Users will have to enter their password every twelve hours. 918 // 1 - twelve hours. Users will have to enter their password every twelve hours.
919 // 2 - day. Users will have to enter their password every day. 919 // 2 - day. Users will have to enter their password every day.
920 // 3 - week. Users will have to enter their password every week. 920 // 3 - week. Users will have to enter their password every week.
921 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; 921 const char kQuickUnlockTimeout[] = "quick_unlock_timeout";
922 // Integer prefs indicating the minimum and maximum lengths of the lock screen
923 // pin.
924 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length";
925 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length";
926 // Boolean pref indicating whether users are allowed to set easy pins.
927 const char kPinUnlockAllowWeakPins[] = "pin_unlock_allow_weak_pins";
922 #endif // defined(OS_CHROMEOS) 928 #endif // defined(OS_CHROMEOS)
923 929
924 // A boolean pref set to true if a Home button to open the Home pages should be 930 // A boolean pref set to true if a Home button to open the Home pages should be
925 // visible on the toolbar. 931 // visible on the toolbar.
926 const char kShowHomeButton[] = "browser.show_home_button"; 932 const char kShowHomeButton[] = "browser.show_home_button";
927 933
928 // Boolean pref to define the default setting for "block offensive words". 934 // Boolean pref to define the default setting for "block offensive words".
929 // The old key value is kept to avoid unnecessary migration code. 935 // The old key value is kept to avoid unnecessary migration code.
930 const char kSpeechRecognitionFilterProfanities[] = 936 const char kSpeechRecognitionFilterProfanities[] =
931 "browser.speechinput_censor_results"; 937 "browser.speechinput_censor_results";
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
2306 // How many times the search geolocation disclosure has been shown. 2312 // How many times the search geolocation disclosure has been shown.
2307 const char kSearchGeolocationDisclosureShownCount[] = 2313 const char kSearchGeolocationDisclosureShownCount[] =
2308 "search_geolocation_disclosure.shown_count"; 2314 "search_geolocation_disclosure.shown_count";
2309 2315
2310 // When the disclosure was shown last. 2316 // When the disclosure was shown last.
2311 const char kSearchGeolocationDisclosureLastShowDate[] = 2317 const char kSearchGeolocationDisclosureLastShowDate[] =
2312 "search_geolocation_disclosure.last_show_date"; 2318 "search_geolocation_disclosure.last_show_date";
2313 #endif 2319 #endif
2314 2320
2315 } // namespace prefs 2321 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698