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

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

Issue 8533013: SessionRestore: Store session cookies and restore them if chrome crashes or auto-restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/base/cookie_monster.h » ('j') | 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) 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/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 9
10 namespace switches { 10 namespace switches {
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 // Enables speculative TCP/IP preconnection. 530 // Enables speculative TCP/IP preconnection.
531 const char kEnablePreconnect[] = "enable-preconnect"; 531 const char kEnablePreconnect[] = "enable-preconnect";
532 532
533 // Enables tracking of tasks in profiler for viewing via about:profiler. 533 // Enables tracking of tasks in profiler for viewing via about:profiler.
534 // To predominantly disable tracking (profiling), use the command line switch: 534 // To predominantly disable tracking (profiling), use the command line switch:
535 // --enable-profiling=0 535 // --enable-profiling=0
536 // Some tracking will still take place at startup, but it will be turned off 536 // Some tracking will still take place at startup, but it will be turned off
537 // during chrome_browser_main. 537 // during chrome_browser_main.
538 const char kEnableProfiling[] = "enable-profiling"; 538 const char kEnableProfiling[] = "enable-profiling";
539 539
540 // Experimental. Enables restoring session state (cookies, session storage,
541 // etc.) when autorestarting.
542 const char kEnableRestoreSessionState[] = "enable-restore-session-state";
543
540 // Controls the support for SDCH filtering (dictionary based expansion of 544 // Controls the support for SDCH filtering (dictionary based expansion of
541 // content). By default SDCH filtering is enabled. To disable SDCH filtering, 545 // content). By default SDCH filtering is enabled. To disable SDCH filtering,
542 // use "--enable-sdch=0" as command line argument. SDCH is currently only 546 // use "--enable-sdch=0" as command line argument. SDCH is currently only
543 // supported server-side for searches on google.com. 547 // supported server-side for searches on google.com.
544 const char kEnableSdch[] = "enable-sdch"; 548 const char kEnableSdch[] = "enable-sdch";
545 549
546 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an 550 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an
547 // extra parameter to indicate if the provider should be the default. 551 // extra parameter to indicate if the provider should be the default.
548 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; 552 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2";
549 553
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1303 1307
1304 // ----------------------------------------------------------------------------- 1308 // -----------------------------------------------------------------------------
1305 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1309 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1306 // 1310 //
1307 // You were going to just dump your switches here, weren't you? Instead, please 1311 // You were going to just dump your switches here, weren't you? Instead, please
1308 // put them in alphabetical order above, or in order inside the appropriate 1312 // put them in alphabetical order above, or in order inside the appropriate
1309 // ifdef at the bottom. The order should match the header. 1313 // ifdef at the bottom. The order should match the header.
1310 // ----------------------------------------------------------------------------- 1314 // -----------------------------------------------------------------------------
1311 1315
1312 } // namespace switches 1316 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/base/cookie_monster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698