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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 // set of CRLs rather than performing on-line checks. | 313 // set of CRLs rather than performing on-line checks. |
314 const char kDisableCRLSets[] = "disable-crl-sets"; | 314 const char kDisableCRLSets[] = "disable-crl-sets"; |
315 | 315 |
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. |
| 324 const char kDisableDeviceDiscovery[] = "disable-device-discovery"; |
| 325 |
323 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. | 326 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. |
324 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; | 327 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; |
325 | 328 |
326 // Force-disables DNS probes on main frame DNS errors. | 329 // Force-disables DNS probes on main frame DNS errors. |
327 const char kDisableDnsProbes[] = "disable-dns-probes"; | 330 const char kDisableDnsProbes[] = "disable-dns-probes"; |
328 | 331 |
329 // Disable extensions. | 332 // Disable extensions. |
330 const char kDisableExtensions[] = "disable-extensions"; | 333 const char kDisableExtensions[] = "disable-extensions"; |
331 | 334 |
332 // Disable checking for user opt-in for extensions that want to inject script | 335 // Disable checking for user opt-in for extensions that want to inject script |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 552 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
550 | 553 |
551 // Enables fetching and storing cloud policy for components. This currently | 554 // Enables fetching and storing cloud policy for components. This currently |
552 // supports policy for extensions on Chrome OS. | 555 // supports policy for extensions on Chrome OS. |
553 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy"; | 556 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy"; |
554 | 557 |
555 // Enables fetching the user's contacts from Google and showing them in the | 558 // Enables fetching the user's contacts from Google and showing them in the |
556 // Chrome OS apps list. | 559 // Chrome OS apps list. |
557 const char kEnableContacts[] = "enable-contacts"; | 560 const char kEnableContacts[] = "enable-contacts"; |
558 | 561 |
559 // Enables device discovery. | |
560 const char kEnableDeviceDiscovery[] = "enable-device-discovery"; | |
561 | |
562 // If true devtools experimental settings are enabled. | 562 // If true devtools experimental settings are enabled. |
563 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; | 563 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; |
564 | 564 |
565 // Force-enables DNS probes on main frame DNS errors. (The user must still | 565 // Force-enables DNS probes on main frame DNS errors. (The user must still |
566 // opt in to "Use web service to resolve navigation errors".) | 566 // opt in to "Use web service to resolve navigation errors".) |
567 const char kEnableDnsProbes[] = "enable-dns-probes"; | 567 const char kEnableDnsProbes[] = "enable-dns-probes"; |
568 | 568 |
569 // Enables extensions to be easily installed from sites other than the web | 569 // Enables extensions to be easily installed from sites other than the web |
570 // store. Without this flag, they can still be installed, but must be manually | 570 // store. Without this flag, they can still be installed, but must be manually |
571 // dragged onto chrome://extensions/. | 571 // dragged onto chrome://extensions/. |
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1607 | 1607 |
1608 // ----------------------------------------------------------------------------- | 1608 // ----------------------------------------------------------------------------- |
1609 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1609 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1610 // | 1610 // |
1611 // You were going to just dump your switches here, weren't you? Instead, please | 1611 // 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 | 1612 // put them in alphabetical order above, or in order inside the appropriate |
1613 // ifdef at the bottom. The order should match the header. | 1613 // ifdef at the bottom. The order should match the header. |
1614 // ----------------------------------------------------------------------------- | 1614 // ----------------------------------------------------------------------------- |
1615 | 1615 |
1616 } // namespace switches | 1616 } // namespace switches |
OLD | NEW |