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

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

Issue 2832503002: Fix double session-restore bug. (Closed)
Patch Set: Fix unittest. Created 3 years, 8 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
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl_unittest.cc ('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/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 // Specifies the maximum length for a QUIC packet. 739 // Specifies the maximum length for a QUIC packet.
740 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; 740 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
741 741
742 // Specifies the version of QUIC to use. 742 // Specifies the version of QUIC to use.
743 const char kQuicVersion[] = "quic-version"; 743 const char kQuicVersion[] = "quic-version";
744 // Porvides a list of addresses to discover DevTools remote debugging targets. 744 // Porvides a list of addresses to discover DevTools remote debugging targets.
745 // The format is <host>:<port>,...,<host>:port. 745 // The format is <host>:<port>,...,<host>:port.
746 const char kRemoteDebuggingTargets[] = "remote-debugging-targets"; 746 const char kRemoteDebuggingTargets[] = "remote-debugging-targets";
747 747
748 // Indicates the last session should be restored on startup. This overrides the 748 // Indicates the last session should be restored on startup. This overrides the
749 // preferences value. 749 // preferences value. Note that this does not force automatic session restore
750 // following a crash, so as to prevent a crash loop. This switch is used to
751 // implement support for OS-specific "continue where you left off" functionality
752 // on OS X and Windows.
750 const char kRestoreLastSession[] = "restore-last-session"; 753 const char kRestoreLastSession[] = "restore-last-session";
751 754
752 // Disable saving pages as HTML-only, disable saving pages as HTML Complete 755 // Disable saving pages as HTML-only, disable saving pages as HTML Complete
753 // (with a directory of sub-resources). Enable only saving pages as MHTML. 756 // (with a directory of sub-resources). Enable only saving pages as MHTML.
754 // See http://crbug.com/120416 for how to remove this switch. 757 // See http://crbug.com/120416 for how to remove this switch.
755 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; 758 const char kSavePageAsMHTML[] = "save-page-as-mhtml";
756 759
757 // If true the app list will be shown. 760 // If true the app list will be shown.
758 const char kShowAppList[] = "show-app-list"; 761 const char kShowAppList[] = "show-app-list";
759 762
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 1193
1191 // ----------------------------------------------------------------------------- 1194 // -----------------------------------------------------------------------------
1192 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1195 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1193 // 1196 //
1194 // You were going to just dump your switches here, weren't you? Instead, please 1197 // You were going to just dump your switches here, weren't you? Instead, please
1195 // put them in alphabetical order above, or in order inside the appropriate 1198 // put them in alphabetical order above, or in order inside the appropriate
1196 // ifdef at the bottom. The order should match the header. 1199 // ifdef at the bottom. The order should match the header.
1197 // ----------------------------------------------------------------------------- 1200 // -----------------------------------------------------------------------------
1198 1201
1199 } // namespace switches 1202 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698