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

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

Issue 11649055: OAuth2 sign-in flow for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 7 years, 11 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 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; 1444 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch";
1445 1445
1446 // Enables touchpad three-finger-click as middle button. 1446 // Enables touchpad three-finger-click as middle button.
1447 const char kEnableTouchpadThreeFingerClick[] 1447 const char kEnableTouchpadThreeFingerClick[]
1448 = "enable-touchpad-three-finger-click"; 1448 = "enable-touchpad-three-finger-click";
1449 1449
1450 // Enables touchpad three-finger swipe. 1450 // Enables touchpad three-finger swipe.
1451 const char kEnableTouchpadThreeFingerSwipe[] 1451 const char kEnableTouchpadThreeFingerSwipe[]
1452 = "enable-touchpad-three-finger-swipe"; 1452 = "enable-touchpad-three-finger-swipe";
1453 1453
1454 // Skips OAuth part of ChromeOS login process.
1455 const char kSkipOAuthLogin[] = "skip-oauth-login";
1456
1457 // Enable Kiosk mode for ChromeOS. 1454 // Enable Kiosk mode for ChromeOS.
1458 const char kEnableKioskMode[] = "enable-kiosk-mode"; 1455 const char kEnableKioskMode[] = "enable-kiosk-mode";
1459 1456
1460 // Disable policy-configured local accounts. 1457 // Disable policy-configured local accounts.
1461 const char kDisableLocalAccounts[] = "disable-local-accounts"; 1458 const char kDisableLocalAccounts[] = "disable-local-accounts";
1462 1459
1463 // Enables request of tablet site (via user agent override). 1460 // Enables request of tablet site (via user agent override).
1464 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; 1461 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
1465 1462
1466 // Enables static ip configuration. This flag should be removed when it's on by 1463 // Enables static ip configuration. This flag should be removed when it's on by
1467 // default. 1464 // default.
1468 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; 1465 const char kEnableStaticIPConfig[] = "enable-static-ip-config";
1469 1466
1470 // Passed to Chrome on first boot. Not passed on restart after sign out. 1467 // Passed to Chrome on first boot. Not passed on restart after sign out.
1471 const char kFirstBoot[] = "first-boot"; 1468 const char kFirstBoot[] = "first-boot";
1472 1469
1470 // Forces driving authentication through the legacy OAuth1 flow instead of
1471 // new flow based on OAuth2.
1472 const char kForceOAuth1[] = "force-oauth1";
1473
1473 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for 1474 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
1474 // Chromeboxes. 1475 // Chromeboxes.
1475 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; 1476 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
1476 1477
1477 // Path for the screensaver used in Kiosk mode 1478 // Path for the screensaver used in Kiosk mode
1478 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; 1479 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path";
1479 1480
1480 // Enables Chrome-as-a-login-manager behavior. 1481 // Enables Chrome-as-a-login-manager behavior.
1481 const char kLoginManager[] = "login-manager"; 1482 const char kLoginManager[] = "login-manager";
1482 1483
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 1617
1617 // ----------------------------------------------------------------------------- 1618 // -----------------------------------------------------------------------------
1618 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1619 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1619 // 1620 //
1620 // You were going to just dump your switches here, weren't you? Instead, please 1621 // You were going to just dump your switches here, weren't you? Instead, please
1621 // put them in alphabetical order above, or in order inside the appropriate 1622 // put them in alphabetical order above, or in order inside the appropriate
1622 // ifdef at the bottom. The order should match the header. 1623 // ifdef at the bottom. The order should match the header.
1623 // ----------------------------------------------------------------------------- 1624 // -----------------------------------------------------------------------------
1624 1625
1625 } // namespace switches 1626 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698