| 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 { |
| 11 | 11 |
| 12 // ----------------------------------------------------------------------------- | 12 // ----------------------------------------------------------------------------- |
| 13 // Can't find the switch you are looking for? Try looking in: | 13 // Can't find the switch you are looking for? Try looking in: |
| 14 // ash/ash_switches.cc | 14 // ash/ash_switches.cc |
| 15 // base/base_switches.cc | 15 // base/base_switches.cc |
| 16 // chromeos/chromeos_switches.cc | 16 // chromeos/chromeos_switches.cc |
| 17 // etc. | 17 // etc. |
| 18 // | 18 // |
| 19 // When commenting your switch, please use the same voice as surrounding | 19 // When commenting your switch, please use the same voice as surrounding |
| 20 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll | 20 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll |
| 21 // all work out. | 21 // all work out. |
| 22 // ----------------------------------------------------------------------------- | 22 // ----------------------------------------------------------------------------- |
| 23 | 23 |
| 24 // Allows choosing an existing managed user profile during the managed | 24 // Allows choosing an existing managed user profile during the managed |
| 25 // user creation flow. | 25 // user creation flow. Is only used on ChromeOS. |
| 26 const char kAllowCreateExistingManagedUsers[] = | 26 const char kAllowCreateExistingManagedUsers[] = |
| 27 "allow-create-existing-managed-users"; | 27 "allow-create-existing-managed-users"; |
| 28 | 28 |
| 29 // Allows third-party content included on a page to prompt for a HTTP basic | 29 // Allows third-party content included on a page to prompt for a HTTP basic |
| 30 // auth username/password pair. | 30 // auth username/password pair. |
| 31 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt"; | 31 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt"; |
| 32 | 32 |
| 33 // On ChromeOS, file:// access is disabled except for certain whitelisted | 33 // On ChromeOS, file:// access is disabled except for certain whitelisted |
| 34 // directories. This switch re-enables file:// for testing. | 34 // directories. This switch re-enables file:// for testing. |
| 35 const char kAllowFileAccess[] = "allow-file-access"; | 35 const char kAllowFileAccess[] = "allow-file-access"; |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // performance tests where these pages may interfere with perf results. | 297 // performance tests where these pages may interfere with perf results. |
| 298 const char kDisableComponentExtensionsWithBackgroundPages[] = | 298 const char kDisableComponentExtensionsWithBackgroundPages[] = |
| 299 "disable-component-extensions-with-background-pages"; | 299 "disable-component-extensions-with-background-pages"; |
| 300 | 300 |
| 301 const char kDisableComponentUpdate[] = "disable-component-update"; | 301 const char kDisableComponentUpdate[] = "disable-component-update"; |
| 302 | 302 |
| 303 // Disables establishing certificate revocation information by downloading a | 303 // Disables establishing certificate revocation information by downloading a |
| 304 // set of CRLs rather than performing on-line checks. | 304 // set of CRLs rather than performing on-line checks. |
| 305 const char kDisableCRLSets[] = "disable-crl-sets"; | 305 const char kDisableCRLSets[] = "disable-crl-sets"; |
| 306 | 306 |
| 307 // Disables choosing an existing managed user profile during the managed |
| 308 // user creation flow. |
| 309 const char kDisableCreateExistingManagedUsers[] = |
| 310 "disable-create-exsting-managed-users"; |
| 311 |
| 307 // Disables the custom JumpList on Windows 7. | 312 // Disables the custom JumpList on Windows 7. |
| 308 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 313 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
| 309 | 314 |
| 310 // Disables installation of default apps on first run. This is used during | 315 // Disables installation of default apps on first run. This is used during |
| 311 // automated testing. | 316 // automated testing. |
| 312 const char kDisableDefaultApps[] = "disable-default-apps"; | 317 const char kDisableDefaultApps[] = "disable-default-apps"; |
| 313 | 318 |
| 314 // Disables device discovery. | 319 // Disables device discovery. |
| 315 const char kDisableDeviceDiscovery[] = "disable-device-discovery"; | 320 const char kDisableDeviceDiscovery[] = "disable-device-discovery"; |
| 316 | 321 |
| (...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1674 | 1679 |
| 1675 // ----------------------------------------------------------------------------- | 1680 // ----------------------------------------------------------------------------- |
| 1676 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1681 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1677 // | 1682 // |
| 1678 // You were going to just dump your switches here, weren't you? Instead, please | 1683 // You were going to just dump your switches here, weren't you? Instead, please |
| 1679 // put them in alphabetical order above, or in order inside the appropriate | 1684 // put them in alphabetical order above, or in order inside the appropriate |
| 1680 // ifdef at the bottom. The order should match the header. | 1685 // ifdef at the bottom. The order should match the header. |
| 1681 // ----------------------------------------------------------------------------- | 1686 // ----------------------------------------------------------------------------- |
| 1682 | 1687 |
| 1683 } // namespace switches | 1688 } // namespace switches |
| OLD | NEW |