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

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: fixed non-chromeos builds Created 7 years, 9 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
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 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 // Portal detection for new active networks. 1477 // Portal detection for new active networks.
1478 const char kDisableChromeCaptivePortalDetector[] = 1478 const char kDisableChromeCaptivePortalDetector[] =
1479 "disable-chrome-captive-portal-detector"; 1479 "disable-chrome-captive-portal-detector";
1480 1480
1481 // Disables Google Drive integration. 1481 // Disables Google Drive integration.
1482 const char kDisableDrive[] = "disable-drive"; 1482 const char kDisableDrive[] = "disable-drive";
1483 1483
1484 // Enables file prefetching in Google Drive Client for Chrome OS. 1484 // Enables file prefetching in Google Drive Client for Chrome OS.
1485 const char kEnableDrivePrefetch[] = "enable-drive-prefetch"; 1485 const char kEnableDrivePrefetch[] = "enable-drive-prefetch";
1486 1486
1487 // Disable policy-configured local accounts.
1488 const char kDisableLocalAccounts[] = "disable-local-accounts";
1489
1487 // Avoid doing expensive animations upon login. 1490 // Avoid doing expensive animations upon login.
1488 const char kDisableLoginAnimations[] = "disable-login-animations"; 1491 const char kDisableLoginAnimations[] = "disable-login-animations";
1489 1492
1490 // Avoid doing animations upon oobe. 1493 // Avoid doing animations upon oobe.
1491 const char kDisableOobeAnimation[] = "disable-oobe-animation"; 1494 const char kDisableOobeAnimation[] = "disable-oobe-animation";
1492 1495
1493 // Enables component extension that initializes background pages of 1496 // Enables component extension that initializes background pages of
1494 // certain hosted applications. 1497 // certain hosted applications.
1495 const char kEnableBackgroundLoader[] = "enable-background-loader"; 1498 const char kEnableBackgroundLoader[] = "enable-background-loader";
1496 1499
1497 // Enables Chrome Captive Portal detector, which initiates Captive 1500 // Enables Chrome Captive Portal detector, which initiates Captive
1498 // Portal detection for new active networks. 1501 // Portal detection for new active networks.
1499 const char kEnableChromeCaptivePortalDetector[] = 1502 const char kEnableChromeCaptivePortalDetector[] =
1500 "enable-chrome-captive-portal-detector"; 1503 "enable-chrome-captive-portal-detector";
1501 1504
1502 // Enables metadata prefetching in Google Drive Client for Chrome OS. 1505 // Enables metadata prefetching in Google Drive Client for Chrome OS.
1503 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; 1506 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch";
1504 1507
1505 // Enables touchpad three-finger-click as middle button. 1508 // Enables touchpad three-finger-click as middle button.
1506 const char kEnableTouchpadThreeFingerClick[] 1509 const char kEnableTouchpadThreeFingerClick[]
1507 = "enable-touchpad-three-finger-click"; 1510 = "enable-touchpad-three-finger-click";
1508 1511
1509 // Enables touchpad three-finger swipe. 1512 // Enables touchpad three-finger swipe.
1510 const char kEnableTouchpadThreeFingerSwipe[] 1513 const char kEnableTouchpadThreeFingerSwipe[]
1511 = "enable-touchpad-three-finger-swipe"; 1514 = "enable-touchpad-three-finger-swipe";
1512 1515
1513 // Enable Kiosk mode for ChromeOS. 1516 // Enable Kiosk mode for ChromeOS.
1514 const char kEnableKioskMode[] = "enable-kiosk-mode"; 1517 const char kEnableKioskMode[] = "enable-kiosk-mode";
1515 1518
1516 // Disable policy-configured local accounts.
1517 const char kDisableLocalAccounts[] = "disable-local-accounts";
1518
1519 // Enables request of tablet site (via user agent override). 1519 // Enables request of tablet site (via user agent override).
1520 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; 1520 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
1521 1521
1522 // Enables static ip configuration. This flag should be removed when it's on by 1522 // Enables static ip configuration. This flag should be removed when it's on by
1523 // default. 1523 // default.
1524 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; 1524 const char kEnableStaticIPConfig[] = "enable-static-ip-config";
1525 1525
1526 // Enables setting TRUST_SSL for server and CA certificates imported from user
1527 // ONC policy. This flag will be removed once the feature can be turned on by
1528 // default, which needs additional UI work.
1529 const char kEnableWebTrustCerts[] = "enable-web-trust-certs";
pneubeck (no reviews) 2013/03/26 10:01:25 btw. terrible indentation :-)
Joao da Silva 2013/03/31 19:22:14 Following the file structure. Looks alright with s
1530
1526 // Passed to Chrome on first boot. Not passed on restart after sign out. 1531 // Passed to Chrome on first boot. Not passed on restart after sign out.
1527 const char kFirstBoot[] = "first-boot"; 1532 const char kFirstBoot[] = "first-boot";
1528 1533
1529 // Usually in browser tests the usual login manager bringup is skipped so that 1534 // Usually in browser tests the usual login manager bringup is skipped so that
1530 // tests can change how it's brought up. This flag disables that. 1535 // tests can change how it's brought up. This flag disables that.
1531 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests"; 1536 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests";
1532 1537
1533 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for 1538 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
1534 // Chromeboxes. 1539 // Chromeboxes.
1535 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; 1540 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 1692
1688 // ----------------------------------------------------------------------------- 1693 // -----------------------------------------------------------------------------
1689 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1694 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1690 // 1695 //
1691 // You were going to just dump your switches here, weren't you? Instead, please 1696 // You were going to just dump your switches here, weren't you? Instead, please
1692 // put them in alphabetical order above, or in order inside the appropriate 1697 // put them in alphabetical order above, or in order inside the appropriate
1693 // ifdef at the bottom. The order should match the header. 1698 // ifdef at the bottom. The order should match the header.
1694 // ----------------------------------------------------------------------------- 1699 // -----------------------------------------------------------------------------
1695 1700
1696 } // namespace switches 1701 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698