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

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

Issue 11783008: Add a lock to the managed user settings page and require authentication for unlocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style issue fixes Created 7 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 | Annotate | Revision Log
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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; 835 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history";
836 const char kDeleteCache[] = "browser.clear_data.cache"; 836 const char kDeleteCache[] = "browser.clear_data.cache";
837 const char kDeleteCookies[] = "browser.clear_data.cookies"; 837 const char kDeleteCookies[] = "browser.clear_data.cookies";
838 const char kDeletePasswords[] = "browser.clear_data.passwords"; 838 const char kDeletePasswords[] = "browser.clear_data.passwords";
839 const char kDeleteFormData[] = "browser.clear_data.form_data"; 839 const char kDeleteFormData[] = "browser.clear_data.form_data";
840 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data"; 840 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data";
841 const char kDeauthorizeContentLicenses[] = 841 const char kDeauthorizeContentLicenses[] =
842 "browser.clear_data.content_licenses"; 842 "browser.clear_data.content_licenses";
843 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; 843 const char kDeleteTimePeriod[] = "browser.clear_data.time_period";
844 844
845 // A boolean pref controlling the use of a password to lock chrome
846 const char kChildLockDisabled[] = "child.locking_disabled";
Bernhard Bauer 2013/01/07 14:39:22 This preference is not used.
847
845 // Boolean pref to define the default values for using spellchecker. 848 // Boolean pref to define the default values for using spellchecker.
846 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking"; 849 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking";
847 850
848 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). 851 // List of names of the enabled labs experiments (see chrome/browser/labs.cc).
849 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; 852 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments";
850 853
851 // Boolean pref to define the default values for using auto spell correct. 854 // Boolean pref to define the default values for using auto spell correct.
852 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; 855 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect";
853 856
854 // Boolean pref to define the default setting for "block offensive words". 857 // Boolean pref to define the default setting for "block offensive words".
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 "profile.managed_popups_allowed_for_urls"; 2065 "profile.managed_popups_allowed_for_urls";
2063 const char kManagedPopupsBlockedForUrls[] = 2066 const char kManagedPopupsBlockedForUrls[] =
2064 "profile.managed_popups_blocked_for_urls"; 2067 "profile.managed_popups_blocked_for_urls";
2065 const char kManagedNotificationsAllowedForUrls[] = 2068 const char kManagedNotificationsAllowedForUrls[] =
2066 "profile.managed_notifications_allowed_for_urls"; 2069 "profile.managed_notifications_allowed_for_urls";
2067 const char kManagedNotificationsBlockedForUrls[] = 2070 const char kManagedNotificationsBlockedForUrls[] =
2068 "profile.managed_notifications_blocked_for_urls"; 2071 "profile.managed_notifications_blocked_for_urls";
2069 const char kManagedAutoSelectCertificateForUrls[] = 2072 const char kManagedAutoSelectCertificateForUrls[] =
2070 "profile.managed_auto_select_certificate_for_urls"; 2073 "profile.managed_auto_select_certificate_for_urls";
2071 2074
2075 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase";
Bernhard Bauer 2013/01/07 14:39:22 You should probably add a comment explaining these
2076 const char kManagedModeLocalSalt[] = "managed_mode.salt";
2077
2072 // Set to true if the user created a login item so we should not modify it when 2078 // Set to true if the user created a login item so we should not modify it when
2073 // uninstalling background apps. 2079 // uninstalling background apps.
2074 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item"; 2080 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item";
2075 2081
2076 // Set to true if the user removed our login item so we should not create a new 2082 // Set to true if the user removed our login item so we should not create a new
2077 // one when uninstalling background apps. 2083 // one when uninstalling background apps.
2078 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item"; 2084 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item";
2079 2085
2080 // Set to true if background mode is enabled on this browser. 2086 // Set to true if background mode is enabled on this browser.
2081 const char kBackgroundModeEnabled[] = "background_mode.enabled"; 2087 const char kBackgroundModeEnabled[] = "background_mode.enabled";
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
2213 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2219 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2214 2220
2215 #if defined(OS_CHROMEOS) 2221 #if defined(OS_CHROMEOS)
2216 // The RLZ brand code, if enabled. 2222 // The RLZ brand code, if enabled.
2217 const char kRLZBrand[] = "rlz.brand"; 2223 const char kRLZBrand[] = "rlz.brand";
2218 // Whether RLZ pings are disabled. 2224 // Whether RLZ pings are disabled.
2219 const char kRLZDisabled[] = "rlz.disabled"; 2225 const char kRLZDisabled[] = "rlz.disabled";
2220 #endif 2226 #endif
2221 2227
2222 } // namespace prefs 2228 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698