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

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: Add a check if the passphrase is set before closing the settings. 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 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after
2067 "profile.managed_popups_allowed_for_urls"; 2067 "profile.managed_popups_allowed_for_urls";
2068 const char kManagedPopupsBlockedForUrls[] = 2068 const char kManagedPopupsBlockedForUrls[] =
2069 "profile.managed_popups_blocked_for_urls"; 2069 "profile.managed_popups_blocked_for_urls";
2070 const char kManagedNotificationsAllowedForUrls[] = 2070 const char kManagedNotificationsAllowedForUrls[] =
2071 "profile.managed_notifications_allowed_for_urls"; 2071 "profile.managed_notifications_allowed_for_urls";
2072 const char kManagedNotificationsBlockedForUrls[] = 2072 const char kManagedNotificationsBlockedForUrls[] =
2073 "profile.managed_notifications_blocked_for_urls"; 2073 "profile.managed_notifications_blocked_for_urls";
2074 const char kManagedAutoSelectCertificateForUrls[] = 2074 const char kManagedAutoSelectCertificateForUrls[] =
2075 "profile.managed_auto_select_certificate_for_urls"; 2075 "profile.managed_auto_select_certificate_for_urls";
2076 2076
2077 // This preference is used to store the hash of a password of the custodian of
Pam (message me for reviews) 2013/01/14 15:37:50 This should go up with the white-/blacklist prefs.
Adrian Kuegel 2013/01/19 01:21:32 Done.
2078 // a managed user. It allows to unlock options which should be not available to
2079 // the managed user. The salt preference is used to derive the hash from the
2080 // password.
2081 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase";
2082 const char kManagedModeLocalSalt[] = "managed_mode.salt";
2083
2077 // Set to true if the user created a login item so we should not modify it when 2084 // Set to true if the user created a login item so we should not modify it when
2078 // uninstalling background apps. 2085 // uninstalling background apps.
2079 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item"; 2086 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item";
2080 2087
2081 // Set to true if the user removed our login item so we should not create a new 2088 // Set to true if the user removed our login item so we should not create a new
2082 // one when uninstalling background apps. 2089 // one when uninstalling background apps.
2083 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item"; 2090 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item";
2084 2091
2085 // Set to true if background mode is enabled on this browser. 2092 // Set to true if background mode is enabled on this browser.
2086 const char kBackgroundModeEnabled[] = "background_mode.enabled"; 2093 const char kBackgroundModeEnabled[] = "background_mode.enabled";
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2222 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2229 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2223 2230
2224 #if defined(OS_CHROMEOS) 2231 #if defined(OS_CHROMEOS)
2225 // The RLZ brand code, if enabled. 2232 // The RLZ brand code, if enabled.
2226 const char kRLZBrand[] = "rlz.brand"; 2233 const char kRLZBrand[] = "rlz.brand";
2227 // Whether RLZ pings are disabled. 2234 // Whether RLZ pings are disabled.
2228 const char kRLZDisabled[] = "rlz.disabled"; 2235 const char kRLZDisabled[] = "rlz.disabled";
2229 #endif 2236 #endif
2230 2237
2231 } // namespace prefs 2238 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698