profile_management_switches.h revision cedac228d2dd51db4b79ea1e72c7f249408ee061
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// These are functions to access various profile-management flags but with 6// possible overrides from Experiements. This is done inside chrome/common 7// because it is accessed by files through the chrome/ directory tree. 8 9#ifndef CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 10#define CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 11 12namespace switches { 13 14// Checks whether account consistency is enabled. 15bool IsEnableAccountConsistency(); 16 17// Enables the web-based sign in flow on Chrome desktop. 18bool IsEnableWebBasedSignin(); 19 20// Whether the chrome.identity API should be multi-account. 21bool IsExtensionsMultiAccount(); 22 23// Checks whether the flag for fast user switching is enabled. 24bool IsFastUserSwitching(); 25 26// Enables using GAIA information to populate profile name and icon. 27bool IsGoogleProfileInfo(); 28 29// Whether the new avatar menu is enabled, either because new profile management 30// is enabled or because the new profile management preview UI is enabled. 31bool IsNewAvatarMenu(); 32 33// Use new profile management system, including profile sign-out and new 34// choosers. 35bool IsNewProfileManagement(); 36 37// Whether the new profile management preview has been enabled. 38bool IsNewProfileManagementPreviewEnabled(); 39 40} // namespace switches 41 42#endif // CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 43