Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 13035003: Added a PolicyCertVerifier that uses the trust anchors from the ONC policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 // Portal detection for new active networks. 1499 // Portal detection for new active networks.
1500 const char kDisableChromeCaptivePortalDetector[] = 1500 const char kDisableChromeCaptivePortalDetector[] =
1501 "disable-chrome-captive-portal-detector"; 1501 "disable-chrome-captive-portal-detector";
1502 1502
1503 // Disables Google Drive integration. 1503 // Disables Google Drive integration.
1504 const char kDisableDrive[] = "disable-drive"; 1504 const char kDisableDrive[] = "disable-drive";
1505 1505
1506 // Enables file prefetching in Google Drive Client for Chrome OS. 1506 // Enables file prefetching in Google Drive Client for Chrome OS.
1507 const char kEnableDrivePrefetch[] = "enable-drive-prefetch"; 1507 const char kEnableDrivePrefetch[] = "enable-drive-prefetch";
1508 1508
1509 // Disable policy-configured local accounts.
1510 const char kDisableLocalAccounts[] = "disable-local-accounts";
1511
1509 // Avoid doing expensive animations upon login. 1512 // Avoid doing expensive animations upon login.
1510 const char kDisableLoginAnimations[] = "disable-login-animations"; 1513 const char kDisableLoginAnimations[] = "disable-login-animations";
1511 1514
1512 // Avoid doing animations upon oobe. 1515 // Avoid doing animations upon oobe.
1513 const char kDisableOobeAnimation[] = "disable-oobe-animation"; 1516 const char kDisableOobeAnimation[] = "disable-oobe-animation";
1514 1517
1515 // Enables component extension that initializes background pages of 1518 // Enables component extension that initializes background pages of
1516 // certain hosted applications. 1519 // certain hosted applications.
1517 const char kEnableBackgroundLoader[] = "enable-background-loader"; 1520 const char kEnableBackgroundLoader[] = "enable-background-loader";
1518 1521
1519 // Enables Chrome Captive Portal detector, which initiates Captive 1522 // Enables Chrome Captive Portal detector, which initiates Captive
1520 // Portal detection for new active networks. 1523 // Portal detection for new active networks.
1521 const char kEnableChromeCaptivePortalDetector[] = 1524 const char kEnableChromeCaptivePortalDetector[] =
1522 "enable-chrome-captive-portal-detector"; 1525 "enable-chrome-captive-portal-detector";
1523 1526
1524 // Enables metadata prefetching in Google Drive Client for Chrome OS. 1527 // Enables metadata prefetching in Google Drive Client for Chrome OS.
1525 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; 1528 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch";
1526 1529
1527 // Enables touchpad three-finger-click as middle button. 1530 // Enables touchpad three-finger-click as middle button.
1528 const char kEnableTouchpadThreeFingerClick[] 1531 const char kEnableTouchpadThreeFingerClick[]
1529 = "enable-touchpad-three-finger-click"; 1532 = "enable-touchpad-three-finger-click";
1530 1533
1531 // Enables touchpad three-finger swipe. 1534 // Enables touchpad three-finger swipe.
1532 const char kEnableTouchpadThreeFingerSwipe[] 1535 const char kEnableTouchpadThreeFingerSwipe[]
1533 = "enable-touchpad-three-finger-swipe"; 1536 = "enable-touchpad-three-finger-swipe";
1534 1537
1535 // Enable Kiosk mode for ChromeOS. 1538 // Enable Kiosk mode for ChromeOS.
1536 const char kEnableKioskMode[] = "enable-kiosk-mode"; 1539 const char kEnableKioskMode[] = "enable-kiosk-mode";
1537 1540
1538 // Disable policy-configured local accounts.
1539 const char kDisableLocalAccounts[] = "disable-local-accounts";
1540
1541 // Enables request of tablet site (via user agent override). 1541 // Enables request of tablet site (via user agent override).
1542 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; 1542 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
1543 1543
1544 // Enables static ip configuration. This flag should be removed when it's on by 1544 // Enables static ip configuration. This flag should be removed when it's on by
1545 // default. 1545 // default.
1546 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; 1546 const char kEnableStaticIPConfig[] = "enable-static-ip-config";
1547 1547
1548 // Enables setting TRUST_SSL for server and CA certificates imported from user
1549 // ONC policy. This flag will be removed once the feature can be turned on by
1550 // default, which needs additional UI work.
1551 const char kEnableWebTrustCerts[] = "enable-web-trust-certs";
1552
1548 // Passed to Chrome on first boot. Not passed on restart after sign out. 1553 // Passed to Chrome on first boot. Not passed on restart after sign out.
1549 const char kFirstBoot[] = "first-boot"; 1554 const char kFirstBoot[] = "first-boot";
1550 1555
1551 // Usually in browser tests the usual login manager bringup is skipped so that 1556 // Usually in browser tests the usual login manager bringup is skipped so that
1552 // tests can change how it's brought up. This flag disables that. 1557 // tests can change how it's brought up. This flag disables that.
1553 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests"; 1558 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests";
1554 1559
1555 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for 1560 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
1556 // Chromeboxes. 1561 // Chromeboxes.
1557 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; 1562 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1709 1714
1710 // ----------------------------------------------------------------------------- 1715 // -----------------------------------------------------------------------------
1711 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1716 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1712 // 1717 //
1713 // You were going to just dump your switches here, weren't you? Instead, please 1718 // You were going to just dump your switches here, weren't you? Instead, please
1714 // put them in alphabetical order above, or in order inside the appropriate 1719 // put them in alphabetical order above, or in order inside the appropriate
1715 // ifdef at the bottom. The order should match the header. 1720 // ifdef at the bottom. The order should match the header.
1716 // ----------------------------------------------------------------------------- 1721 // -----------------------------------------------------------------------------
1717 1722
1718 } // namespace switches 1723 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698