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

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

Powered by Google App Engine
This is Rietveld 408576698