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/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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 // Enables speculative TCP/IP preconnection. | 526 // Enables speculative TCP/IP preconnection. |
527 const char kEnablePreconnect[] = "enable-preconnect"; | 527 const char kEnablePreconnect[] = "enable-preconnect"; |
528 | 528 |
529 // Enables tracking of tasks in profiler for viewing via about:profiler. | 529 // Enables tracking of tasks in profiler for viewing via about:profiler. |
530 // To predominantly disable tracking (profiling), use the command line switch: | 530 // To predominantly disable tracking (profiling), use the command line switch: |
531 // --enable-profiling=0 | 531 // --enable-profiling=0 |
532 // Some tracking will still take place at startup, but it will be turned off | 532 // Some tracking will still take place at startup, but it will be turned off |
533 // during chrome_browser_main. | 533 // during chrome_browser_main. |
534 const char kEnableProfiling[] = "enable-profiling"; | 534 const char kEnableProfiling[] = "enable-profiling"; |
535 | 535 |
| 536 // Enables restoring session state (cookies, session storage, etc.) when |
| 537 // autorestarting. |
| 538 const char kEnableRestoreSessionState[] = "enable-restore-session-state"; |
| 539 |
536 // Controls the support for SDCH filtering (dictionary based expansion of | 540 // Controls the support for SDCH filtering (dictionary based expansion of |
537 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 541 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
538 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 542 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
539 // supported server-side for searches on google.com. | 543 // supported server-side for searches on google.com. |
540 const char kEnableSdch[] = "enable-sdch"; | 544 const char kEnableSdch[] = "enable-sdch"; |
541 | 545 |
542 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an | 546 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an |
543 // extra parameter to indicate if the provider should be the default. | 547 // extra parameter to indicate if the provider should be the default. |
544 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; | 548 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; |
545 | 549 |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 | 1297 |
1294 // ----------------------------------------------------------------------------- | 1298 // ----------------------------------------------------------------------------- |
1295 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1296 // | 1300 // |
1297 // You were going to just dump your switches here, weren't you? Instead, please | 1301 // You were going to just dump your switches here, weren't you? Instead, please |
1298 // put them in alphabetical order above, or in order inside the appropriate | 1302 // put them in alphabetical order above, or in order inside the appropriate |
1299 // ifdef at the bottom. The order should match the header. | 1303 // ifdef at the bottom. The order should match the header. |
1300 // ----------------------------------------------------------------------------- | 1304 // ----------------------------------------------------------------------------- |
1301 | 1305 |
1302 } // namespace switches | 1306 } // namespace switches |
OLD | NEW |