OLD | NEW |
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 Loading... |
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 // List of pages that are manually approved. | 33 // List of pages that are manually approved. |
34 const char kManagedModeWhitelist[] = "profile.managed.whitelist"; | 34 const char kManagedModeWhitelist[] = "profile.managed.whitelist"; |
35 // List of pages that are manually blocked. | 35 // List of pages that are manually blocked. |
36 const char kManagedModeBlacklist[] = "profile.managed.blacklist"; | 36 const char kManagedModeBlacklist[] = "profile.managed.blacklist"; |
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 2189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2237 const char kRLZDisabled[] = "rlz.disabled"; | 2244 const char kRLZDisabled[] = "rlz.disabled"; |
2238 #endif | 2245 #endif |
2239 | 2246 |
2240 #if defined(ENABLE_APP_LIST) | 2247 #if defined(ENABLE_APP_LIST) |
2241 // The directory in user data dir that contains the profile to be used with the | 2248 // The directory in user data dir that contains the profile to be used with the |
2242 // app launcher. | 2249 // app launcher. |
2243 extern const char kAppListProfile[] = "app_list.profile"; | 2250 extern const char kAppListProfile[] = "app_list.profile"; |
2244 #endif | 2251 #endif |
2245 | 2252 |
2246 } // namespace prefs | 2253 } // namespace prefs |
OLD | NEW |