| 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 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1215 const char kSimulateUpgrade[] = "simulate-upgrade"; | 1215 const char kSimulateUpgrade[] = "simulate-upgrade"; |
| 1216 | 1216 |
| 1217 // Replaces the buffered data source for <audio> and <video> with a simplified | 1217 // Replaces the buffered data source for <audio> and <video> with a simplified |
| 1218 // resource loader that downloads the entire resource into memory. | 1218 // resource loader that downloads the entire resource into memory. |
| 1219 | 1219 |
| 1220 // Socket reuse policy. The value should be of type enum | 1220 // Socket reuse policy. The value should be of type enum |
| 1221 // ClientSocketReusePolicy. | 1221 // ClientSocketReusePolicy. |
| 1222 const char kSocketReusePolicy[] = "socket-reuse-policy"; | 1222 const char kSocketReusePolicy[] = "socket-reuse-policy"; |
| 1223 | 1223 |
| 1224 // Origin for which SpdyProxy authentication is supported. | 1224 // Origin for which SpdyProxy authentication is supported. |
| 1225 const char kSpdyProxyOrigin[] = "spdy-proxy-origin"; | 1225 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; |
| 1226 | 1226 |
| 1227 // Speculative resource prefetching. | 1227 // Speculative resource prefetching. |
| 1228 const char kSpeculativeResourcePrefetching[] = | 1228 const char kSpeculativeResourcePrefetching[] = |
| 1229 "speculative-resource-prefetching"; | 1229 "speculative-resource-prefetching"; |
| 1230 | 1230 |
| 1231 // Speculative resource prefetching is disabled. | 1231 // Speculative resource prefetching is disabled. |
| 1232 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; | 1232 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; |
| 1233 | 1233 |
| 1234 // Speculative resource prefetching will only learn about resources that need to | 1234 // Speculative resource prefetching will only learn about resources that need to |
| 1235 // be prefetched but will not prefetch them. | 1235 // be prefetched but will not prefetch them. |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1391 // use Chromium's network stack to fetch, and V8 to evaluate. | 1391 // use Chromium's network stack to fetch, and V8 to evaluate. |
| 1392 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1392 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
| 1393 | 1393 |
| 1394 #if defined(ENABLE_PLUGIN_INSTALLATION) | 1394 #if defined(ENABLE_PLUGIN_INSTALLATION) |
| 1395 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. | 1395 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. |
| 1396 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; | 1396 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; |
| 1397 #endif | 1397 #endif |
| 1398 | 1398 |
| 1399 #if defined(OS_ANDROID) | 1399 #if defined(OS_ANDROID) |
| 1400 // Enable SPDY proxy. | 1400 // Enable SPDY proxy. |
| 1401 const char kEnableSpdyProxy[] = "enable-spdy-proxy"; | 1401 const char kEnableSpdyProxyAuth[] = "enable-spdy-proxy-auth"; |
| 1402 | 1402 |
| 1403 // Pops the translate infobar if possible. | 1403 // Pops the translate infobar if possible. |
| 1404 const char kEnableTranslate[] = "enable-translate"; | 1404 const char kEnableTranslate[] = "enable-translate"; |
| 1405 | 1405 |
| 1406 // Uses the tablet specific UI components when available. | 1406 // Uses the tablet specific UI components when available. |
| 1407 const char kTabletUI[] = "tablet-ui"; | 1407 const char kTabletUI[] = "tablet-ui"; |
| 1408 #endif | 1408 #endif |
| 1409 | 1409 |
| 1410 #if defined(USE_ASH) | 1410 #if defined(USE_ASH) |
| 1411 const char kAshEnableTabScrubbing[] = "ash-enable-tab-scrubbing"; | 1411 const char kAshEnableTabScrubbing[] = "ash-enable-tab-scrubbing"; |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1657 | 1657 |
| 1658 // ----------------------------------------------------------------------------- | 1658 // ----------------------------------------------------------------------------- |
| 1659 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1659 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1660 // | 1660 // |
| 1661 // You were going to just dump your switches here, weren't you? Instead, please | 1661 // You were going to just dump your switches here, weren't you? Instead, please |
| 1662 // put them in alphabetical order above, or in order inside the appropriate | 1662 // put them in alphabetical order above, or in order inside the appropriate |
| 1663 // ifdef at the bottom. The order should match the header. | 1663 // ifdef at the bottom. The order should match the header. |
| 1664 // ----------------------------------------------------------------------------- | 1664 // ----------------------------------------------------------------------------- |
| 1665 | 1665 |
| 1666 } // namespace switches | 1666 } // namespace switches |
| OLD | NEW |