OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1194 const char kShutdownType[] = "shutdown.type"; | 1194 const char kShutdownType[] = "shutdown.type"; |
1195 // Number of processes that were open when the user shut down. | 1195 // Number of processes that were open when the user shut down. |
1196 const char kShutdownNumProcesses[] = "shutdown.num_processes"; | 1196 const char kShutdownNumProcesses[] = "shutdown.num_processes"; |
1197 // Number of processes that were shut down using the slow path. | 1197 // Number of processes that were shut down using the slow path. |
1198 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; | 1198 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; |
1199 | 1199 |
1200 // Whether to restart the current Chrome session automatically as the last thing | 1200 // Whether to restart the current Chrome session automatically as the last thing |
1201 // before shutting everything down. | 1201 // before shutting everything down. |
1202 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; | 1202 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; |
1203 | 1203 |
| 1204 // Set before autorestarting Chrome, cleared on clean exit. |
| 1205 const char kWasRestarted[] = "was.restarted"; |
| 1206 |
1204 // Number of bookmarks/folders on the bookmark bar/other bookmark folder. | 1207 // Number of bookmarks/folders on the bookmark bar/other bookmark folder. |
1205 const char kNumBookmarksOnBookmarkBar[] = | 1208 const char kNumBookmarksOnBookmarkBar[] = |
1206 "user_experience_metrics.num_bookmarks_on_bookmark_bar"; | 1209 "user_experience_metrics.num_bookmarks_on_bookmark_bar"; |
1207 const char kNumFoldersOnBookmarkBar[] = | 1210 const char kNumFoldersOnBookmarkBar[] = |
1208 "user_experience_metrics.num_folders_on_bookmark_bar"; | 1211 "user_experience_metrics.num_folders_on_bookmark_bar"; |
1209 const char kNumBookmarksInOtherBookmarkFolder[] = | 1212 const char kNumBookmarksInOtherBookmarkFolder[] = |
1210 "user_experience_metrics.num_bookmarks_in_other_bookmark_folder"; | 1213 "user_experience_metrics.num_bookmarks_in_other_bookmark_folder"; |
1211 const char kNumFoldersInOtherBookmarkFolder[] = | 1214 const char kNumFoldersInOtherBookmarkFolder[] = |
1212 "user_experience_metrics.num_folders_in_other_bookmark_folder"; | 1215 "user_experience_metrics.num_folders_in_other_bookmark_folder"; |
1213 | 1216 |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1678 | 1681 |
1679 // String that represents the recovery component last downloaded version. This | 1682 // String that represents the recovery component last downloaded version. This |
1680 // takes the usual 'a.b.c.d' notation. | 1683 // takes the usual 'a.b.c.d' notation. |
1681 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 1684 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
1682 | 1685 |
1683 // String that stores the component updater last known state. This is used for | 1686 // String that stores the component updater last known state. This is used for |
1684 // troubleshooting. | 1687 // troubleshooting. |
1685 const char kComponentUpdaterState[] = "component_updater.state"; | 1688 const char kComponentUpdaterState[] = "component_updater.state"; |
1686 | 1689 |
1687 } // namespace prefs | 1690 } // namespace prefs |
OLD | NEW |