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

Side by Side Diff: components/signin/core/common/profile_management_switches.cc

Issue 2031763002: Flag for the desktop user menu revamp project (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed name to material design Created 4 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 "components/signin/core/common/profile_management_switches.h" 5 #include "components/signin/core/common/profile_management_switches.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/feature_list.h" 10 #include "base/feature_list.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 bool UsePasswordSeparatedSigninFlow() { 134 bool UsePasswordSeparatedSigninFlow() {
135 return base::FeatureList::IsEnabled( 135 return base::FeatureList::IsEnabled(
136 switches::kUsePasswordSeparatedSigninFlow); 136 switches::kUsePasswordSeparatedSigninFlow);
137 } 137 }
138 138
139 bool IsMaterialDesignUserManager() { 139 bool IsMaterialDesignUserManager() {
140 return base::FeatureList::IsEnabled(switches::kMaterialDesignUserManager); 140 return base::FeatureList::IsEnabled(switches::kMaterialDesignUserManager);
141 } 141 }
142 142
143 bool IsMaterialDesignUserMenu() {
144 return base::FeatureList::IsEnabled(switches::kMaterialDesignUserMenu);
145 }
146
143 void EnableNewProfileManagementForTesting(base::CommandLine* command_line) { 147 void EnableNewProfileManagementForTesting(base::CommandLine* command_line) {
144 command_line->AppendSwitch(switches::kEnableNewProfileManagement); 148 command_line->AppendSwitch(switches::kEnableNewProfileManagement);
145 DCHECK(!command_line->HasSwitch(switches::kDisableNewProfileManagement)); 149 DCHECK(!command_line->HasSwitch(switches::kDisableNewProfileManagement));
146 } 150 }
147 151
148 void EnableAccountConsistencyForTesting(base::CommandLine* command_line) { 152 void EnableAccountConsistencyForTesting(base::CommandLine* command_line) {
149 command_line->AppendSwitch(switches::kEnableAccountConsistency); 153 command_line->AppendSwitch(switches::kEnableAccountConsistency);
150 DCHECK(!command_line->HasSwitch(switches::kDisableAccountConsistency)); 154 DCHECK(!command_line->HasSwitch(switches::kDisableAccountConsistency));
151 } 155 }
152 156
153 } // namespace switches 157 } // namespace switches
OLDNEW
« no previous file with comments | « components/signin/core/common/profile_management_switches.h ('k') | components/signin/core/common/signin_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698