| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 // Enables support for the QUIC protocol for insecure schemes (http://). | 439 // Enables support for the QUIC protocol for insecure schemes (http://). |
| 440 // This is a temporary testing flag. | 440 // This is a temporary testing flag. |
| 441 const char kEnableInsecureQuic[] = "enable-insecure-quic"; | 441 const char kEnableInsecureQuic[] = "enable-insecure-quic"; |
| 442 | 442 |
| 443 // Enables an experimental Material Design version of chrome://downloads. | 443 // Enables an experimental Material Design version of chrome://downloads. |
| 444 const char kEnableMaterialDesignDownloads[] = "enable-md-downloads"; | 444 const char kEnableMaterialDesignDownloads[] = "enable-md-downloads"; |
| 445 | 445 |
| 446 // Enables the material design Settings feature. | 446 // Enables the material design Settings feature. |
| 447 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; | 447 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; |
| 448 | 448 |
| 449 #if defined(ENABLE_MEDIA_ROUTER) | |
| 450 // Enables Media Router. | 449 // Enables Media Router. |
| 451 const char kEnableMediaRouter[] = "enable-media-router"; | 450 const char kEnableMediaRouter[] = "enable-media-router"; |
| 452 #endif | |
| 453 | 451 |
| 454 // Runs the Native Client inside the renderer process and enables GPU plugin | 452 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 455 // (internally adds lEnableGpuPlugin to the command line). | 453 // (internally adds lEnableGpuPlugin to the command line). |
| 456 const char kEnableNaCl[] = "enable-nacl"; | 454 const char kEnableNaCl[] = "enable-nacl"; |
| 457 | 455 |
| 458 // Enables tracing for each navigation. It will attempt to trace each navigation | 456 // Enables tracing for each navigation. It will attempt to trace each navigation |
| 459 // for 10s, until the buffer is full, or until the next navigation. | 457 // for 10s, until the buffer is full, or until the next navigation. |
| 460 // It only works if a URL was provided by --trace-upload-url. | 458 // It only works if a URL was provided by --trace-upload-url. |
| 461 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; | 459 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; |
| 462 | 460 |
| (...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1415 | 1413 |
| 1416 // ----------------------------------------------------------------------------- | 1414 // ----------------------------------------------------------------------------- |
| 1417 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1415 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1418 // | 1416 // |
| 1419 // You were going to just dump your switches here, weren't you? Instead, please | 1417 // You were going to just dump your switches here, weren't you? Instead, please |
| 1420 // put them in alphabetical order above, or in order inside the appropriate | 1418 // put them in alphabetical order above, or in order inside the appropriate |
| 1421 // ifdef at the bottom. The order should match the header. | 1419 // ifdef at the bottom. The order should match the header. |
| 1422 // ----------------------------------------------------------------------------- | 1420 // ----------------------------------------------------------------------------- |
| 1423 | 1421 |
| 1424 } // namespace switches | 1422 } // namespace switches |
| OLD | NEW |