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

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

Issue 12208068: Add a set passphrase dialog for managed user accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix year in new files. 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
« chrome/common/pref_names.h ('K') | « 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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 17 matching lines...) Expand all
28 const char kHomePage[] = "homepage"; 28 const char kHomePage[] = "homepage";
29 29
30 // Did the user change the home page after install? 30 // Did the user change the home page after install?
31 const char kHomePageChanged[] = "homepage_changed"; 31 const char kHomePageChanged[] = "homepage_changed";
32 32
33 // Maps host names to whether the host is manually allowed or blocked. 33 // Maps host names to whether the host is manually allowed or blocked.
34 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts"; 34 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts";
35 // Maps URLs to whether the URL is manually allowed or blocked. 35 // Maps URLs to whether the URL is manually allowed or blocked.
36 const char kManagedModeManualURLs[] = "profile.managed.manual_urls"; 36 const char kManagedModeManualURLs[] = "profile.managed.manual_urls";
37 37
38 // This preference is used to store the hash of a password of the custodian of
39 // a managed user. It allows to unlock options which should be not available to
40 // the managed user. The salt preference is used to derive the hash from the
41 // password.
42 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase";
43 const char kManagedModeLocalSalt[] = "managed_mode.salt";
44
38 // Used to determine if the last session exited cleanly. Set to false when 45 // Used to determine if the last session exited cleanly. Set to false when
39 // first opened, and to true when closing. On startup if the value is false, 46 // first opened, and to true when closing. On startup if the value is false,
40 // it means the profile didn't exit cleanly. 47 // it means the profile didn't exit cleanly.
41 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards 48 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards
42 // compatability. 49 // compatability.
43 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 50 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
44 51
45 // A string pref whose values is one of the values defined by 52 // A string pref whose values is one of the values defined by
46 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and 53 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and
47 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during 54 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during
(...skipping 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 const char kRLZDisabled[] = "rlz.disabled"; 2283 const char kRLZDisabled[] = "rlz.disabled";
2277 #endif 2284 #endif
2278 2285
2279 #if defined(ENABLE_APP_LIST) 2286 #if defined(ENABLE_APP_LIST)
2280 // The directory in user data dir that contains the profile to be used with the 2287 // The directory in user data dir that contains the profile to be used with the
2281 // app launcher. 2288 // app launcher.
2282 extern const char kAppListProfile[] = "app_list.profile"; 2289 extern const char kAppListProfile[] = "app_list.profile";
2283 #endif 2290 #endif
2284 2291
2285 } // namespace prefs 2292 } // namespace prefs
OLDNEW
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698