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 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 21 matching lines...) Expand all Loading... |
32 // If set to true profiles are created in ephemeral mode and do not store their | 32 // If set to true profiles are created in ephemeral mode and do not store their |
33 // data in the profile folder on disk but only in memory. | 33 // data in the profile folder on disk but only in memory. |
34 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; | 34 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; |
35 | 35 |
36 // A boolean specifying whether the New Tab page is the home page or not. | 36 // A boolean specifying whether the New Tab page is the home page or not. |
37 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; | 37 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; |
38 | 38 |
39 // This is the URL of the page to load when opening new tabs. | 39 // This is the URL of the page to load when opening new tabs. |
40 const char kHomePage[] = "homepage"; | 40 const char kHomePage[] = "homepage"; |
41 | 41 |
| 42 #if defined(OS_WIN) |
| 43 // This is a timestamp of the last time this profile was reset by a third party |
| 44 // tool. On Windows, a third party tool may set a registry value that will be |
| 45 // compared to this value and if different will result in a profile reset |
| 46 // prompt. See triggered_profile_resetter.h for more information. |
| 47 const char kLastProfileResetTimestamp[] = "profile.last_reset_timestamp"; |
| 48 #endif |
| 49 |
42 // An integer that keeps track of the profile icon version. This allows us to | 50 // An integer that keeps track of the profile icon version. This allows us to |
43 // determine the state of the profile icon for icon format changes. | 51 // determine the state of the profile icon for icon format changes. |
44 const char kProfileIconVersion[] = "profile.icon_version"; | 52 const char kProfileIconVersion[] = "profile.icon_version"; |
45 | 53 |
46 // Used to determine if the last session exited cleanly. Set to false when | 54 // Used to determine if the last session exited cleanly. Set to false when |
47 // first opened, and to true when closing. On startup if the value is false, | 55 // first opened, and to true when closing. On startup if the value is false, |
48 // it means the profile didn't exit cleanly. | 56 // it means the profile didn't exit cleanly. |
49 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards | 57 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards |
50 // compatibility. | 58 // compatibility. |
51 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; | 59 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; |
(...skipping 2178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2230 "supervised_users.whitelists"; | 2238 "supervised_users.whitelists"; |
2231 | 2239 |
2232 #if defined(ENABLE_EXTENSIONS) | 2240 #if defined(ENABLE_EXTENSIONS) |
2233 // Policy that indicates how to handle animated images. | 2241 // Policy that indicates how to handle animated images. |
2234 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2242 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; |
2235 #endif | 2243 #endif |
2236 | 2244 |
2237 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; | 2245 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; |
2238 | 2246 |
2239 } // namespace prefs | 2247 } // namespace prefs |
OLD | NEW |