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

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

Issue 2538303002: md-settings: Added settings for fingerprint unlock. (Closed)
Patch Set: Rebased. Created 3 years, 11 months 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 // 1 - twelve hours. Users will have to enter their password every twelve hours. 934 // 1 - twelve hours. Users will have to enter their password every twelve hours.
935 // 2 - day. Users will have to enter their password every day. 935 // 2 - day. Users will have to enter their password every day.
936 // 3 - week. Users will have to enter their password every week. 936 // 3 - week. Users will have to enter their password every week.
937 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; 937 const char kQuickUnlockTimeout[] = "quick_unlock_timeout";
938 // Integer prefs indicating the minimum and maximum lengths of the lock screen 938 // Integer prefs indicating the minimum and maximum lengths of the lock screen
939 // pin. 939 // pin.
940 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; 940 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length";
941 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; 941 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length";
942 // Boolean pref indicating whether users are allowed to set easy pins. 942 // Boolean pref indicating whether users are allowed to set easy pins.
943 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed"; 943 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed";
944
945 // Boolean pref indicating whether fingerprint unlock is enabled.
946 const char kEnableQuickUnlockFingerprint[] =
947 "settings.enable_quick_unlock_fingerprint";
944 #endif // defined(OS_CHROMEOS) 948 #endif // defined(OS_CHROMEOS)
945 949
946 // A boolean pref set to true if a Home button to open the Home pages should be 950 // A boolean pref set to true if a Home button to open the Home pages should be
947 // visible on the toolbar. 951 // visible on the toolbar.
948 const char kShowHomeButton[] = "browser.show_home_button"; 952 const char kShowHomeButton[] = "browser.show_home_button";
949 953
950 // Boolean pref to define the default setting for "block offensive words". 954 // Boolean pref to define the default setting for "block offensive words".
951 // The old key value is kept to avoid unnecessary migration code. 955 // The old key value is kept to avoid unnecessary migration code.
952 const char kSpeechRecognitionFilterProfanities[] = 956 const char kSpeechRecognitionFilterProfanities[] =
953 "browser.speechinput_censor_results"; 957 "browser.speechinput_censor_results";
(...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after
2364 // have been recorded. 2368 // have been recorded.
2365 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2369 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2366 "search_geolocation_post_disclosure_metrics_recorded"; 2370 "search_geolocation_post_disclosure_metrics_recorded";
2367 #endif 2371 #endif
2368 2372
2369 // A dictionary which stores whether location access is enabled for the current 2373 // A dictionary which stores whether location access is enabled for the current
2370 // default search engine, if it is the Google search engine. 2374 // default search engine, if it is the Google search engine.
2371 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; 2375 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting";
2372 2376
2373 } // namespace prefs 2377 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698