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 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 // Portal detection for new active networks. | 1491 // Portal detection for new active networks. |
1492 const char kDisableChromeCaptivePortalDetector[] = | 1492 const char kDisableChromeCaptivePortalDetector[] = |
1493 "disable-chrome-captive-portal-detector"; | 1493 "disable-chrome-captive-portal-detector"; |
1494 | 1494 |
1495 // Disables Google Drive integration. | 1495 // Disables Google Drive integration. |
1496 const char kDisableDrive[] = "disable-drive"; | 1496 const char kDisableDrive[] = "disable-drive"; |
1497 | 1497 |
1498 // Enables file prefetching in Google Drive Client for Chrome OS. | 1498 // Enables file prefetching in Google Drive Client for Chrome OS. |
1499 const char kEnableDrivePrefetch[] = "enable-drive-prefetch"; | 1499 const char kEnableDrivePrefetch[] = "enable-drive-prefetch"; |
1500 | 1500 |
| 1501 // Disable policy-configured local accounts. |
| 1502 const char kDisableLocalAccounts[] = "disable-local-accounts"; |
| 1503 |
1501 // Avoid doing expensive animations upon login. | 1504 // Avoid doing expensive animations upon login. |
1502 const char kDisableLoginAnimations[] = "disable-login-animations"; | 1505 const char kDisableLoginAnimations[] = "disable-login-animations"; |
1503 | 1506 |
1504 // Avoid doing animations upon oobe. | 1507 // Avoid doing animations upon oobe. |
1505 const char kDisableOobeAnimation[] = "disable-oobe-animation"; | 1508 const char kDisableOobeAnimation[] = "disable-oobe-animation"; |
1506 | 1509 |
1507 // Enables component extension that initializes background pages of | 1510 // Enables component extension that initializes background pages of |
1508 // certain hosted applications. | 1511 // certain hosted applications. |
1509 const char kEnableBackgroundLoader[] = "enable-background-loader"; | 1512 const char kEnableBackgroundLoader[] = "enable-background-loader"; |
1510 | 1513 |
1511 // Enables Chrome Captive Portal detector, which initiates Captive | 1514 // Enables Chrome Captive Portal detector, which initiates Captive |
1512 // Portal detection for new active networks. | 1515 // Portal detection for new active networks. |
1513 const char kEnableChromeCaptivePortalDetector[] = | 1516 const char kEnableChromeCaptivePortalDetector[] = |
1514 "enable-chrome-captive-portal-detector"; | 1517 "enable-chrome-captive-portal-detector"; |
1515 | 1518 |
1516 // Enables metadata prefetching in Google Drive Client for Chrome OS. | 1519 // Enables metadata prefetching in Google Drive Client for Chrome OS. |
1517 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; | 1520 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; |
1518 | 1521 |
1519 // Enables touchpad three-finger-click as middle button. | 1522 // Enables touchpad three-finger-click as middle button. |
1520 const char kEnableTouchpadThreeFingerClick[] | 1523 const char kEnableTouchpadThreeFingerClick[] |
1521 = "enable-touchpad-three-finger-click"; | 1524 = "enable-touchpad-three-finger-click"; |
1522 | 1525 |
1523 // Enables touchpad three-finger swipe. | 1526 // Enables touchpad three-finger swipe. |
1524 const char kEnableTouchpadThreeFingerSwipe[] | 1527 const char kEnableTouchpadThreeFingerSwipe[] |
1525 = "enable-touchpad-three-finger-swipe"; | 1528 = "enable-touchpad-three-finger-swipe"; |
1526 | 1529 |
1527 // Enable Kiosk mode for ChromeOS. | 1530 // Enable Kiosk mode for ChromeOS. |
1528 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 1531 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
1529 | 1532 |
1530 // Disable policy-configured local accounts. | |
1531 const char kDisableLocalAccounts[] = "disable-local-accounts"; | |
1532 | |
1533 // Enables request of tablet site (via user agent override). | 1533 // Enables request of tablet site (via user agent override). |
1534 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 1534 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
1535 | 1535 |
1536 // Enables static ip configuration. This flag should be removed when it's on by | 1536 // Enables static ip configuration. This flag should be removed when it's on by |
1537 // default. | 1537 // default. |
1538 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; | 1538 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; |
1539 | 1539 |
| 1540 // Enables setting TRUST_SSL for server and CA certificates imported from user |
| 1541 // ONC policy. This flag will be removed once the feature can be turned on by |
| 1542 // default, which needs additional UI work. |
| 1543 const char kEnableWebTrustCerts[] = "enable-web-trust-certs"; |
| 1544 |
1540 // Passed to Chrome on first boot. Not passed on restart after sign out. | 1545 // Passed to Chrome on first boot. Not passed on restart after sign out. |
1541 const char kFirstBoot[] = "first-boot"; | 1546 const char kFirstBoot[] = "first-boot"; |
1542 | 1547 |
1543 // Usually in browser tests the usual login manager bringup is skipped so that | 1548 // Usually in browser tests the usual login manager bringup is skipped so that |
1544 // tests can change how it's brought up. This flag disables that. | 1549 // tests can change how it's brought up. This flag disables that. |
1545 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests"; | 1550 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests"; |
1546 | 1551 |
1547 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for | 1552 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for |
1548 // Chromeboxes. | 1553 // Chromeboxes. |
1549 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; | 1554 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1701 | 1706 |
1702 // ----------------------------------------------------------------------------- | 1707 // ----------------------------------------------------------------------------- |
1703 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1708 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1704 // | 1709 // |
1705 // You were going to just dump your switches here, weren't you? Instead, please | 1710 // You were going to just dump your switches here, weren't you? Instead, please |
1706 // put them in alphabetical order above, or in order inside the appropriate | 1711 // put them in alphabetical order above, or in order inside the appropriate |
1707 // ifdef at the bottom. The order should match the header. | 1712 // ifdef at the bottom. The order should match the header. |
1708 // ----------------------------------------------------------------------------- | 1713 // ----------------------------------------------------------------------------- |
1709 | 1714 |
1710 } // namespace switches | 1715 } // namespace switches |
OLD | NEW |