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

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 27 errors. 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 // on this list. 919 // on this list.
920 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist"; 920 const char kQuickUnlockModeWhitelist[] = "quick_unlock_mode_whitelist";
921 // Enum that specifies how often a user has to enter their password to continue 921 // Enum that specifies how often a user has to enter their password to continue
922 // using quick unlock. These values are the same as the ones in 922 // using quick unlock. These values are the same as the ones in
923 // chromeos::QuickUnlockPasswordConfirmationFrequency. 923 // chromeos::QuickUnlockPasswordConfirmationFrequency.
924 // 0 - six hours. Users will have to enter their password every six hours. 924 // 0 - six hours. Users will have to enter their password every six hours.
925 // 1 - twelve hours. Users will have to enter their password every twelve hours. 925 // 1 - twelve hours. Users will have to enter their password every twelve hours.
926 // 2 - day. Users will have to enter their password every day. 926 // 2 - day. Users will have to enter their password every day.
927 // 3 - week. Users will have to enter their password every week. 927 // 3 - week. Users will have to enter their password every week.
928 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; 928 const char kQuickUnlockTimeout[] = "quick_unlock_timeout";
929 // Integer prefs indicating the minimum and maximum lengths of the lock screen
930 // pin.
931 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length";
932 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length";
933 // Boolean pref indicating whether users are allowed to set easy pins.
934 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed";
929 #endif // defined(OS_CHROMEOS) 935 #endif // defined(OS_CHROMEOS)
930 936
931 // A boolean pref set to true if a Home button to open the Home pages should be 937 // A boolean pref set to true if a Home button to open the Home pages should be
932 // visible on the toolbar. 938 // visible on the toolbar.
933 const char kShowHomeButton[] = "browser.show_home_button"; 939 const char kShowHomeButton[] = "browser.show_home_button";
934 940
935 // Boolean pref to define the default setting for "block offensive words". 941 // Boolean pref to define the default setting for "block offensive words".
936 // The old key value is kept to avoid unnecessary migration code. 942 // The old key value is kept to avoid unnecessary migration code.
937 const char kSpeechRecognitionFilterProfanities[] = 943 const char kSpeechRecognitionFilterProfanities[] =
938 "browser.speechinput_censor_results"; 944 "browser.speechinput_censor_results";
(...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
2332 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2338 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2333 "search_geolocation_pre_disclosure_metrics_recorded"; 2339 "search_geolocation_pre_disclosure_metrics_recorded";
2334 2340
2335 // Whether the metrics for the state of geolocation post-disclosure being shown 2341 // Whether the metrics for the state of geolocation post-disclosure being shown
2336 // have been recorded. 2342 // have been recorded.
2337 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2343 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2338 "search_geolocation_post_disclosure_metrics_recorded"; 2344 "search_geolocation_post_disclosure_metrics_recorded";
2339 #endif 2345 #endif
2340 2346
2341 } // namespace prefs 2347 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698