OLD | NEW |
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 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 | 605 |
606 // Controls the support for SDCH filtering (dictionary based expansion of | 606 // Controls the support for SDCH filtering (dictionary based expansion of |
607 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 607 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
608 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 608 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
609 // supported server-side for searches on google.com. | 609 // supported server-side for searches on google.com. |
610 const char kEnableSdch[] = "enable-sdch"; | 610 const char kEnableSdch[] = "enable-sdch"; |
611 | 611 |
612 // Enable SPDY/3. This is a temporary testing flag. | 612 // Enable SPDY/3. This is a temporary testing flag. |
613 const char kEnableSpdy3[] = "enable-spdy3"; | 613 const char kEnableSpdy3[] = "enable-spdy3"; |
614 | 614 |
615 // Enable speculative resource prefetching. | |
616 const char kEnableSpeculativeResourcePrefetching[] = | |
617 "enable-speculative-resource-prefetching"; | |
618 | |
619 // Enables the stacked tabstrip. | 615 // Enables the stacked tabstrip. |
620 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip"; | 616 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip"; |
621 | 617 |
622 // Enables experimental suggestions pane in New Tab page. | 618 // Enables experimental suggestions pane in New Tab page. |
623 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp"; | 619 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp"; |
624 | 620 |
625 // Disables syncing browser sessions. Will override kEnableSyncTabs. | 621 // Disables syncing browser sessions. Will override kEnableSyncTabs. |
626 const char kDisableSyncTabs[] = "disable-sync-tabs"; | 622 const char kDisableSyncTabs[] = "disable-sync-tabs"; |
627 | 623 |
628 // Enables context menu for selecting groups of tabs. | 624 // Enables context menu for selecting groups of tabs. |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 // Simulates an update being available. | 1178 // Simulates an update being available. |
1183 const char kSimulateUpgrade[] = "simulate-upgrade"; | 1179 const char kSimulateUpgrade[] = "simulate-upgrade"; |
1184 | 1180 |
1185 // Replaces the buffered data source for <audio> and <video> with a simplified | 1181 // Replaces the buffered data source for <audio> and <video> with a simplified |
1186 // resource loader that downloads the entire resource into memory. | 1182 // resource loader that downloads the entire resource into memory. |
1187 | 1183 |
1188 // Socket reuse policy. The value should be of type enum | 1184 // Socket reuse policy. The value should be of type enum |
1189 // ClientSocketReusePolicy. | 1185 // ClientSocketReusePolicy. |
1190 const char kSocketReusePolicy[] = "socket-reuse-policy"; | 1186 const char kSocketReusePolicy[] = "socket-reuse-policy"; |
1191 | 1187 |
| 1188 // Speculative resource prefetching. |
| 1189 const char kSpeculativeResourcePrefetching[] = |
| 1190 "speculative-resource-prefetching"; |
| 1191 |
| 1192 // Speculative resource prefetching is disabled. |
| 1193 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; |
| 1194 |
| 1195 // Speculative resource prefetching will only learn about resources that need to |
| 1196 // be prefetched but will not prefetch them. |
| 1197 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
| 1198 |
1192 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or | 1199 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or |
1193 // "tls1.2"). | 1200 // "tls1.2"). |
1194 const char kSSLVersionMax[] = "ssl-version-max"; | 1201 const char kSSLVersionMax[] = "ssl-version-max"; |
1195 | 1202 |
1196 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or | 1203 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or |
1197 // "tls1.2"). | 1204 // "tls1.2"). |
1198 const char kSSLVersionMin[] = "ssl-version-min"; | 1205 const char kSSLVersionMin[] = "ssl-version-min"; |
1199 | 1206 |
1200 // Starts the browser maximized, regardless of any previous settings. | 1207 // Starts the browser maximized, regardless of any previous settings. |
1201 const char kStartMaximized[] = "start-maximized"; | 1208 const char kStartMaximized[] = "start-maximized"; |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1493 | 1500 |
1494 // ----------------------------------------------------------------------------- | 1501 // ----------------------------------------------------------------------------- |
1495 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1502 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1496 // | 1503 // |
1497 // You were going to just dump your switches here, weren't you? Instead, please | 1504 // You were going to just dump your switches here, weren't you? Instead, please |
1498 // put them in alphabetical order above, or in order inside the appropriate | 1505 // put them in alphabetical order above, or in order inside the appropriate |
1499 // ifdef at the bottom. The order should match the header. | 1506 // ifdef at the bottom. The order should match the header. |
1500 // ----------------------------------------------------------------------------- | 1507 // ----------------------------------------------------------------------------- |
1501 | 1508 |
1502 } // namespace switches | 1509 } // namespace switches |
OLD | NEW |