Home | History | Annotate | Download | only in common
      1 // Copyright 2014 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "components/signin/core/common/signin_switches.h"
      6 
      7 namespace switches {
      8 
      9 // Clears the token service before using it. This allows simulating the
     10 // expiration of credentials during testing.
     11 const char kClearTokenService[] = "clear-token-service";
     12 
     13 // Disables consistent identity features.
     14 const char kDisableAccountConsistency[] = "disable-account-consistency";
     15 
     16 // Disables new profile management system, including new profile chooser UI.
     17 const char kDisableNewProfileManagement[] = "disable-new-profile-management";
     18 
     19 // Disables the new avatar menu, forcing the top-corner avatar button.
     20 const char kDisableNewAvatarMenu[] = "disable-new-avatar-menu";
     21 
     22 // Disable sending signin scoped device id to LSO with refresh token request.
     23 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id";
     24 
     25 // Enables consistent identity features.
     26 const char kEnableAccountConsistency[] = "enable-account-consistency";
     27 
     28 // Enable the new avatar menu and the User Manager.
     29 const char kEnableNewAvatarMenu[] = "enable-new-avatar-menu";
     30 
     31 // Enables new profile management system, including lock mode.
     32 const char kEnableNewProfileManagement[] = "new-profile-management";
     33 
     34 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/
     35 // settings page.
     36 const char kEnableWebBasedSignin[] = "enable-web-based-signin";
     37 
     38 // Enables multiple account versions of chrome.identity APIs.
     39 const char kExtensionsMultiAccount[] = "extensions-multi-account";
     40 
     41 // Allows displaying the list of existing profiles in the avatar bubble for
     42 // fast switching between profiles.
     43 const char kFastUserSwitching[] = "fast-user-switching";
     44 
     45 // Enables using GAIA information to populate profile name and icon.
     46 const char kGoogleProfileInfo[] = "google-profile-info";
     47 
     48 }  // namespace switches
     49