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

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

Issue 8745015: Store the "browser autorestarted, last session must be restored" information in a preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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) 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 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 const char kShutdownType[] = "shutdown.type"; 1189 const char kShutdownType[] = "shutdown.type";
1190 // Number of processes that were open when the user shut down. 1190 // Number of processes that were open when the user shut down.
1191 const char kShutdownNumProcesses[] = "shutdown.num_processes"; 1191 const char kShutdownNumProcesses[] = "shutdown.num_processes";
1192 // Number of processes that were shut down using the slow path. 1192 // Number of processes that were shut down using the slow path.
1193 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; 1193 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow";
1194 1194
1195 // Whether to restart the current Chrome session automatically as the last thing 1195 // Whether to restart the current Chrome session automatically as the last thing
1196 // before shutting everything down. 1196 // before shutting everything down.
1197 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; 1197 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown";
1198 1198
1199 // Set before autorestarting Chrome, cleared on clean exit.
1200 const char kWasRestarted[] = "was.restarted";
Finnur 2011/11/30 18:32:04 Shouldn't this variable be named kWasAutoRestarted
marja 2011/12/02 09:23:41 It's not set only when chrome autorestarts, but al
1201
1199 // Number of bookmarks/folders on the bookmark bar/other bookmark folder. 1202 // Number of bookmarks/folders on the bookmark bar/other bookmark folder.
1200 const char kNumBookmarksOnBookmarkBar[] = 1203 const char kNumBookmarksOnBookmarkBar[] =
1201 "user_experience_metrics.num_bookmarks_on_bookmark_bar"; 1204 "user_experience_metrics.num_bookmarks_on_bookmark_bar";
1202 const char kNumFoldersOnBookmarkBar[] = 1205 const char kNumFoldersOnBookmarkBar[] =
1203 "user_experience_metrics.num_folders_on_bookmark_bar"; 1206 "user_experience_metrics.num_folders_on_bookmark_bar";
1204 const char kNumBookmarksInOtherBookmarkFolder[] = 1207 const char kNumBookmarksInOtherBookmarkFolder[] =
1205 "user_experience_metrics.num_bookmarks_in_other_bookmark_folder"; 1208 "user_experience_metrics.num_bookmarks_in_other_bookmark_folder";
1206 const char kNumFoldersInOtherBookmarkFolder[] = 1209 const char kNumFoldersInOtherBookmarkFolder[] =
1207 "user_experience_metrics.num_folders_in_other_bookmark_folder"; 1210 "user_experience_metrics.num_folders_in_other_bookmark_folder";
1208 1211
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1670 1673
1671 // String that represents the recovery component last downloaded version. This 1674 // String that represents the recovery component last downloaded version. This
1672 // takes the usual 'a.b.c.d' notation. 1675 // takes the usual 'a.b.c.d' notation.
1673 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1676 const char kRecoveryComponentVersion[] = "recovery_component.version";
1674 1677
1675 // String that stores the component updater last known state. This is used for 1678 // String that stores the component updater last known state. This is used for
1676 // troubleshooting. 1679 // troubleshooting.
1677 const char kComponentUpdaterState[] = "component_updater.state"; 1680 const char kComponentUpdaterState[] = "component_updater.state";
1678 1681
1679 } // namespace prefs 1682 } // namespace prefs
OLDNEW
« chrome/browser/ui/browser_list.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698