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

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

Issue 2538303002: md-settings: Added settings for fingerprint unlock. (Closed)
Patch Set: Nit. 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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 929 // Integer prefs indicating the minimum and maximum lengths of the lock screen
930 // pin. 930 // pin.
931 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; 931 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length";
932 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; 932 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length";
933 // Boolean pref indicating whether users are allowed to set easy pins. 933 // Boolean pref indicating whether users are allowed to set easy pins.
934 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed"; 934 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed";
935
936 // Boolean pref indicating whether fingerprint unlock is enabled.
937 const char kEnableQuickUnlockFingerprint[] =
938 "settings.enable_quick_unlock_fingerprint";
935 #endif // defined(OS_CHROMEOS) 939 #endif // defined(OS_CHROMEOS)
936 940
937 // A boolean pref set to true if a Home button to open the Home pages should be 941 // A boolean pref set to true if a Home button to open the Home pages should be
938 // visible on the toolbar. 942 // visible on the toolbar.
939 const char kShowHomeButton[] = "browser.show_home_button"; 943 const char kShowHomeButton[] = "browser.show_home_button";
940 944
941 // Boolean pref to define the default setting for "block offensive words". 945 // Boolean pref to define the default setting for "block offensive words".
942 // The old key value is kept to avoid unnecessary migration code. 946 // The old key value is kept to avoid unnecessary migration code.
943 const char kSpeechRecognitionFilterProfanities[] = 947 const char kSpeechRecognitionFilterProfanities[] =
944 "browser.speechinput_censor_results"; 948 "browser.speechinput_censor_results";
(...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
2338 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2342 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2339 "search_geolocation_pre_disclosure_metrics_recorded"; 2343 "search_geolocation_pre_disclosure_metrics_recorded";
2340 2344
2341 // Whether the metrics for the state of geolocation post-disclosure being shown 2345 // Whether the metrics for the state of geolocation post-disclosure being shown
2342 // have been recorded. 2346 // have been recorded.
2343 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2347 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2344 "search_geolocation_post_disclosure_metrics_recorded"; 2348 "search_geolocation_post_disclosure_metrics_recorded";
2345 #endif 2349 #endif
2346 2350
2347 } // namespace prefs 2351 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698