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

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 browser test for ManagedUserSetPassphraseOverlay Created 7 years, 10 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 20 matching lines...) Expand all
31 const char kHomePageChanged[] = "homepage_changed"; 31 const char kHomePageChanged[] = "homepage_changed";
32 32
33 // Does this user have a Google+ Profile? 33 // Does this user have a Google+ Profile?
34 const char kIsGooglePlusUser[] = "is_google_plus_user"; 34 const char kIsGooglePlusUser[] = "is_google_plus_user";
35 35
36 // List of pages that are manually approved. 36 // List of pages that are manually approved.
37 const char kManagedModeWhitelist[] = "profile.managed.whitelist"; 37 const char kManagedModeWhitelist[] = "profile.managed.whitelist";
38 // List of pages that are manually blocked. 38 // List of pages that are manually blocked.
39 const char kManagedModeBlacklist[] = "profile.managed.blacklist"; 39 const char kManagedModeBlacklist[] = "profile.managed.blacklist";
40 40
41 // This preference is used to store the hash of a password of the custodian of
42 // a managed user. It allows to unlock options which should be not available to
Pam (message me for reviews) 2013/01/28 13:53:27 This use of "unlock" makes it sound like it's the
Adrian Kuegel 2013/01/28 15:41:44 As I removed the "locked" pref, I guess it is now
43 // the managed user. The salt preference is used to derive the hash from the
44 // password.
45 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase";
46 const char kManagedModeLocalSalt[] = "managed_mode.salt";
47 const char kManagedModeLocked[] = "managed_mode.locked";
48
41 // Used to determine if the last session exited cleanly. Set to false when 49 // Used to determine if the last session exited cleanly. Set to false when
42 // first opened, and to true when closing. On startup if the value is false, 50 // first opened, and to true when closing. On startup if the value is false,
43 // it means the profile didn't exit cleanly. 51 // it means the profile didn't exit cleanly.
44 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards 52 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards
45 // compatability. 53 // compatability.
46 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 54 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
47 55
48 // A string pref whose values is one of the values defined by 56 // A string pref whose values is one of the values defined by
49 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and 57 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and
50 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during 58 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during
(...skipping 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2242 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2235 2243
2236 #if defined(OS_CHROMEOS) 2244 #if defined(OS_CHROMEOS)
2237 // The RLZ brand code, if enabled. 2245 // The RLZ brand code, if enabled.
2238 const char kRLZBrand[] = "rlz.brand"; 2246 const char kRLZBrand[] = "rlz.brand";
2239 // Whether RLZ pings are disabled. 2247 // Whether RLZ pings are disabled.
2240 const char kRLZDisabled[] = "rlz.disabled"; 2248 const char kRLZDisabled[] = "rlz.disabled";
2241 #endif 2249 #endif
2242 2250
2243 } // namespace prefs 2251 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698