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

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

Issue 2819713002: Create TetherService, a TetherAllowed pref, and use DependencyManager for RegisterProfilePrefs call… (Closed)
Patch Set: Created 3 years, 8 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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 // Integer prefs indicating the minimum and maximum lengths of the lock screen 959 // Integer prefs indicating the minimum and maximum lengths of the lock screen
960 // pin. 960 // pin.
961 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; 961 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length";
962 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; 962 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length";
963 // Boolean pref indicating whether users are allowed to set easy pins. 963 // Boolean pref indicating whether users are allowed to set easy pins.
964 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed"; 964 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed";
965 965
966 // Boolean pref indicating whether fingerprint unlock is enabled. 966 // Boolean pref indicating whether fingerprint unlock is enabled.
967 const char kEnableQuickUnlockFingerprint[] = 967 const char kEnableQuickUnlockFingerprint[] =
968 "settings.enable_quick_unlock_fingerprint"; 968 "settings.enable_quick_unlock_fingerprint";
969
970 // Whether a user is allowed to use Tether.
971 const char kTetherAllowed[] = "tether.allowed";
969 #endif // defined(OS_CHROMEOS) 972 #endif // defined(OS_CHROMEOS)
970 973
971 // A boolean pref set to true if a Home button to open the Home pages should be 974 // A boolean pref set to true if a Home button to open the Home pages should be
972 // visible on the toolbar. 975 // visible on the toolbar.
973 const char kShowHomeButton[] = "browser.show_home_button"; 976 const char kShowHomeButton[] = "browser.show_home_button";
974 977
975 // Boolean pref to define the default setting for "block offensive words". 978 // Boolean pref to define the default setting for "block offensive words".
976 // The old key value is kept to avoid unnecessary migration code. 979 // The old key value is kept to avoid unnecessary migration code.
977 const char kSpeechRecognitionFilterProfanities[] = 980 const char kSpeechRecognitionFilterProfanities[] =
978 "browser.speechinput_censor_results"; 981 "browser.speechinput_censor_results";
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2523 // settings. 2526 // settings.
2524 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = 2527 const char kSettingsResetPromptLastTriggeredForStartupUrls[] =
2525 "settings_reset_prompt.last_triggered_for_startup_urls"; 2528 "settings_reset_prompt.last_triggered_for_startup_urls";
2526 2529
2527 // Timestamp of the last time the settings reset prompt was shown during the 2530 // Timestamp of the last time the settings reset prompt was shown during the
2528 // current prompt wave asking the user if they want to restore their homepage. 2531 // current prompt wave asking the user if they want to restore their homepage.
2529 const char kSettingsResetPromptLastTriggeredForHomepage[] = 2532 const char kSettingsResetPromptLastTriggeredForHomepage[] =
2530 "settings_reset_prompt.last_triggered_for_homepage"; 2533 "settings_reset_prompt.last_triggered_for_homepage";
2531 2534
2532 } // namespace prefs 2535 } // namespace prefs
OLDNEW
« chrome/browser/tether/tether_service.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698