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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 const char kEnablePlatformApps[] = "enable-platform-apps"; | 513 const char kEnablePlatformApps[] = "enable-platform-apps"; |
514 | 514 |
515 // Enables content settings based on host *and* plug-in in the user | 515 // Enables content settings based on host *and* plug-in in the user |
516 // preferences. | 516 // preferences. |
517 const char kEnableResourceContentSettings[] = | 517 const char kEnableResourceContentSettings[] = |
518 "enable-resource-content-settings"; | 518 "enable-resource-content-settings"; |
519 | 519 |
520 // Enables speculative TCP/IP preconnection. | 520 // Enables speculative TCP/IP preconnection. |
521 const char kEnablePreconnect[] = "enable-preconnect"; | 521 const char kEnablePreconnect[] = "enable-preconnect"; |
522 | 522 |
| 523 // Enables restoring session cookies when autorestarting. |
| 524 const char kEnableRestoreSessionCookies[] = "enable-restore-session-cookies"; |
| 525 |
523 // Controls the support for SDCH filtering (dictionary based expansion of | 526 // Controls the support for SDCH filtering (dictionary based expansion of |
524 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 527 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
525 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 528 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
526 // supported server-side for searches on google.com. | 529 // supported server-side for searches on google.com. |
527 const char kEnableSdch[] = "enable-sdch"; | 530 const char kEnableSdch[] = "enable-sdch"; |
528 | 531 |
529 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an | 532 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an |
530 // extra parameter to indicate if the provider should be the default. | 533 // extra parameter to indicate if the provider should be the default. |
531 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; | 534 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; |
532 | 535 |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 | 1300 |
1298 // ----------------------------------------------------------------------------- | 1301 // ----------------------------------------------------------------------------- |
1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1302 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1300 // | 1303 // |
1301 // You were going to just dump your switches here, weren't you? Instead, please | 1304 // You were going to just dump your switches here, weren't you? Instead, please |
1302 // put them in alphabetical order above, or in order inside the appropriate | 1305 // put them in alphabetical order above, or in order inside the appropriate |
1303 // ifdef at the bottom. The order should match the header. | 1306 // ifdef at the bottom. The order should match the header. |
1304 // ----------------------------------------------------------------------------- | 1307 // ----------------------------------------------------------------------------- |
1305 | 1308 |
1306 } // namespace switches | 1309 } // namespace switches |
OLD | NEW |