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

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: Several 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 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 "profile.managed_popups_allowed_for_urls"; 2062 "profile.managed_popups_allowed_for_urls";
2063 const char kManagedPopupsBlockedForUrls[] = 2063 const char kManagedPopupsBlockedForUrls[] =
2064 "profile.managed_popups_blocked_for_urls"; 2064 "profile.managed_popups_blocked_for_urls";
2065 const char kManagedNotificationsAllowedForUrls[] = 2065 const char kManagedNotificationsAllowedForUrls[] =
2066 "profile.managed_notifications_allowed_for_urls"; 2066 "profile.managed_notifications_allowed_for_urls";
2067 const char kManagedNotificationsBlockedForUrls[] = 2067 const char kManagedNotificationsBlockedForUrls[] =
2068 "profile.managed_notifications_blocked_for_urls"; 2068 "profile.managed_notifications_blocked_for_urls";
2069 const char kManagedAutoSelectCertificateForUrls[] = 2069 const char kManagedAutoSelectCertificateForUrls[] =
2070 "profile.managed_auto_select_certificate_for_urls"; 2070 "profile.managed_auto_select_certificate_for_urls";
2071 2071
2072 // This preference is used to store the hash of a password of the custodian of
2073 // a managed user. It allows to unlock options which should be not available to
2074 // the managed user. The salt preference is used to derive the hash from the
2075 // password.
2076 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase";
2077 const char kManagedModeLocalSalt[] = "managed_mode.salt";
2078
2072 // Set to true if the user created a login item so we should not modify it when 2079 // Set to true if the user created a login item so we should not modify it when
2073 // uninstalling background apps. 2080 // uninstalling background apps.
2074 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item"; 2081 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item";
2075 2082
2076 // Set to true if the user removed our login item so we should not create a new 2083 // Set to true if the user removed our login item so we should not create a new
2077 // one when uninstalling background apps. 2084 // one when uninstalling background apps.
2078 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item"; 2085 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item";
2079 2086
2080 // Set to true if background mode is enabled on this browser. 2087 // Set to true if background mode is enabled on this browser.
2081 const char kBackgroundModeEnabled[] = "background_mode.enabled"; 2088 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"; 2220 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2214 2221
2215 #if defined(OS_CHROMEOS) 2222 #if defined(OS_CHROMEOS)
2216 // The RLZ brand code, if enabled. 2223 // The RLZ brand code, if enabled.
2217 const char kRLZBrand[] = "rlz.brand"; 2224 const char kRLZBrand[] = "rlz.brand";
2218 // Whether RLZ pings are disabled. 2225 // Whether RLZ pings are disabled.
2219 const char kRLZDisabled[] = "rlz.disabled"; 2226 const char kRLZDisabled[] = "rlz.disabled";
2220 #endif 2227 #endif
2221 2228
2222 } // namespace prefs 2229 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698