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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
138 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 138 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
139 | 139 |
140 // Some platforms like ChromeOS default to empty desktop. | 140 // Some platforms like ChromeOS default to empty desktop. |
141 // Browser tests may need to add this switch so that at least one browser | 141 // Browser tests may need to add this switch so that at least one browser |
142 // instance is created on startup. | 142 // instance is created on startup. |
143 // TODO(nkostylev): Investigate if this switch could be removed. | 143 // TODO(nkostylev): Investigate if this switch could be removed. |
144 // (http://crbug.com/148675) | 144 // (http://crbug.com/148675) |
145 const char kCreateBrowserOnStartupForTests[] = | 145 const char kCreateBrowserOnStartupForTests[] = |
146 "create-browser-on-startup-for-tests"; | 146 "create-browser-on-startup-for-tests"; |
147 | 147 |
148 // Specifies the HTTP endpoint which will be used to serve | |
149 // chrome-devtools://devtools/custom/inspector.html. | |
dgozman
2016/10/31 23:11:32
chrome-devtools://devtools/custom/<path>
lushnikov
2016/11/01 00:19:40
Done.
| |
150 const char kCustomDevtoolsFrontend[] = "custom-devtools-frontend"; | |
151 | |
148 // Enables a frame context menu item that toggles the frame in and out of glass | 152 // Enables a frame context menu item that toggles the frame in and out of glass |
149 // mode (Windows Vista and up only). | 153 // mode (Windows Vista and up only). |
150 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; | 154 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; |
151 | 155 |
152 // Adds debugging entries such as Inspect Element to context menus of packed | 156 // Adds debugging entries such as Inspect Element to context menus of packed |
153 // apps. | 157 // apps. |
154 const char kDebugPackedApps[] = "debug-packed-apps"; | 158 const char kDebugPackedApps[] = "debug-packed-apps"; |
155 | 159 |
156 // Passes command line parameters to the DevTools front-end. | 160 // Passes command line parameters to the DevTools front-end. |
157 const char kDevToolsFlags[] = "devtools-flags"; | 161 const char kDevToolsFlags[] = "devtools-flags"; |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
824 const char kQuicConnectionOptions[] = "quic-connection-options"; | 828 const char kQuicConnectionOptions[] = "quic-connection-options"; |
825 | 829 |
826 // Specifies a comma separated list of hosts to whitelist QUIC for. | 830 // Specifies a comma separated list of hosts to whitelist QUIC for. |
827 const char kQuicHostWhitelist[] = "quic-host-whitelist"; | 831 const char kQuicHostWhitelist[] = "quic-host-whitelist"; |
828 | 832 |
829 // Specifies the maximum length for a QUIC packet. | 833 // Specifies the maximum length for a QUIC packet. |
830 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; | 834 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; |
831 | 835 |
832 // Specifies the version of QUIC to use. | 836 // Specifies the version of QUIC to use. |
833 const char kQuicVersion[] = "quic-version"; | 837 const char kQuicVersion[] = "quic-version"; |
838 | |
dgozman
2016/10/31 23:11:32
revert
lushnikov
2016/11/01 00:19:40
Done.
| |
834 // Porvides a list of addresses to discover DevTools remote debugging targets. | 839 // Porvides a list of addresses to discover DevTools remote debugging targets. |
835 // The format is <host>:<port>,...,<host>:port. | 840 // The format is <host>:<port>,...,<host>:port. |
836 const char kRemoteDebuggingTargets[] = "remote-debugging-targets"; | 841 const char kRemoteDebuggingTargets[] = "remote-debugging-targets"; |
837 | 842 |
838 // Indicates the last session should be restored on startup. This overrides the | 843 // Indicates the last session should be restored on startup. This overrides the |
839 // preferences value and is primarily intended for testing. The value of this | 844 // preferences value and is primarily intended for testing. The value of this |
840 // switch is the number of tabs to wait until loaded before 'load completed' is | 845 // switch is the number of tabs to wait until loaded before 'load completed' is |
841 // sent to the ui_test. | 846 // sent to the ui_test. |
842 const char kRestoreLastSession[] = "restore-last-session"; | 847 const char kRestoreLastSession[] = "restore-last-session"; |
843 | 848 |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1325 | 1330 |
1326 // ----------------------------------------------------------------------------- | 1331 // ----------------------------------------------------------------------------- |
1327 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1332 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1328 // | 1333 // |
1329 // You were going to just dump your switches here, weren't you? Instead, please | 1334 // You were going to just dump your switches here, weren't you? Instead, please |
1330 // put them in alphabetical order above, or in order inside the appropriate | 1335 // put them in alphabetical order above, or in order inside the appropriate |
1331 // ifdef at the bottom. The order should match the header. | 1336 // ifdef at the bottom. The order should match the header. |
1332 // ----------------------------------------------------------------------------- | 1337 // ----------------------------------------------------------------------------- |
1333 | 1338 |
1334 } // namespace switches | 1339 } // namespace switches |
OLD | NEW |