| 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 // Enables experimentation with launching ephemeral apps via hyperlinks. | 518 // Enables experimentation with launching ephemeral apps via hyperlinks. |
| 519 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; | 519 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; |
| 520 | 520 |
| 521 // Runs the Native Client inside the renderer process and enables GPU plugin | 521 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 522 // (internally adds lEnableGpuPlugin to the command line). | 522 // (internally adds lEnableGpuPlugin to the command line). |
| 523 const char kEnableNaCl[] = "enable-nacl"; | 523 const char kEnableNaCl[] = "enable-nacl"; |
| 524 | 524 |
| 525 // Enables the network-related benchmarking extensions. | 525 // Enables the network-related benchmarking extensions. |
| 526 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 526 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
| 527 | 527 |
| 528 // Enables |NetworkTimeService| to convert local time to network time. | |
| 529 const char kEnableNetworkTime[] = "enable-network-time"; | |
| 530 | |
| 531 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 528 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
| 532 // HTTP is still used for all requests. | 529 // HTTP is still used for all requests. |
| 533 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 530 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
| 534 | 531 |
| 535 // Enable auto-reload of error pages if offline. | 532 // Enable auto-reload of error pages if offline. |
| 536 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 533 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| 537 | 534 |
| 538 // Enable/Disable offering a "Load stale copy" option to the user if offline. | 535 // Enable/Disable offering a "Load stale copy" option to the user if offline. |
| 539 const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache"; | 536 const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache"; |
| 540 const char kDisableOfflineLoadStaleCache[] = | 537 const char kDisableOfflineLoadStaleCache[] = |
| (...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 | 1407 |
| 1411 // ----------------------------------------------------------------------------- | 1408 // ----------------------------------------------------------------------------- |
| 1412 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1409 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1413 // | 1410 // |
| 1414 // You were going to just dump your switches here, weren't you? Instead, please | 1411 // You were going to just dump your switches here, weren't you? Instead, please |
| 1415 // put them in alphabetical order above, or in order inside the appropriate | 1412 // put them in alphabetical order above, or in order inside the appropriate |
| 1416 // ifdef at the bottom. The order should match the header. | 1413 // ifdef at the bottom. The order should match the header. |
| 1417 // ----------------------------------------------------------------------------- | 1414 // ----------------------------------------------------------------------------- |
| 1418 | 1415 |
| 1419 } // namespace switches | 1416 } // namespace switches |
| OLD | NEW |