Chromium Code Reviews| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 316 // Disables the custom JumpList on Windows 7. | 316 // Disables the custom JumpList on Windows 7. |
| 317 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 317 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
| 318 | 318 |
| 319 // Disables installation of default apps on first run. This is used during | 319 // Disables installation of default apps on first run. This is used during |
| 320 // automated testing. | 320 // automated testing. |
| 321 const char kDisableDefaultApps[] = "disable-default-apps"; | 321 const char kDisableDefaultApps[] = "disable-default-apps"; |
| 322 | 322 |
| 323 // Disables device discovery. | 323 // Disables device discovery. |
| 324 const char kDisableDeviceDiscovery[] = "disable-device-discovery"; | 324 const char kDisableDeviceDiscovery[] = "disable-device-discovery"; |
| 325 | 325 |
| 326 // Disables device discovery notifications. | |
| 327 const char kDisableDeviceDiscoveryNotifications[] | |
| 328 = "disable-device-discovery"; | |
|
Lei Zhang
2013/09/10 01:00:29
Wrong name?
| |
| 329 | |
| 326 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. | 330 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. |
| 327 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; | 331 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; |
| 328 | 332 |
| 329 // Force-disables DNS probes on main frame DNS errors. | 333 // Force-disables DNS probes on main frame DNS errors. |
| 330 const char kDisableDnsProbes[] = "disable-dns-probes"; | 334 const char kDisableDnsProbes[] = "disable-dns-probes"; |
| 331 | 335 |
| 332 // Disable extensions. | 336 // Disable extensions. |
| 333 const char kDisableExtensions[] = "disable-extensions"; | 337 const char kDisableExtensions[] = "disable-extensions"; |
| 334 | 338 |
| 335 // Disable checking for user opt-in for extensions that want to inject script | 339 // Disable checking for user opt-in for extensions that want to inject script |
| (...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1607 | 1611 |
| 1608 // ----------------------------------------------------------------------------- | 1612 // ----------------------------------------------------------------------------- |
| 1609 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1613 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1610 // | 1614 // |
| 1611 // You were going to just dump your switches here, weren't you? Instead, please | 1615 // You were going to just dump your switches here, weren't you? Instead, please |
| 1612 // put them in alphabetical order above, or in order inside the appropriate | 1616 // put them in alphabetical order above, or in order inside the appropriate |
| 1613 // ifdef at the bottom. The order should match the header. | 1617 // ifdef at the bottom. The order should match the header. |
| 1614 // ----------------------------------------------------------------------------- | 1618 // ----------------------------------------------------------------------------- |
| 1615 | 1619 |
| 1616 } // namespace switches | 1620 } // namespace switches |
| OLD | NEW |