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

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

Issue 120343004: Reland r242290, r241609, r242134. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/profile_management_switches.h" 5 #include "chrome/common/profile_management_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 9
10 namespace switches { 10 namespace switches {
11 11
12 bool IsEnableInlineSignin() { 12 bool IsEnableInlineSignin() {
bcwhite 2013/12/23 17:41:48 This function should have been renamed to match th
13 return CommandLine::ForCurrentProcess()->HasSwitch( 13 return !CommandLine::ForCurrentProcess()->HasSwitch(
14 switches::kEnableInlineSignin); 14 switches::kEnableWebBasedSignin);
15 } 15 }
16 16
17 bool IsGoogleProfileInfo() { 17 bool IsGoogleProfileInfo() {
18 return CommandLine::ForCurrentProcess()->HasSwitch( 18 return CommandLine::ForCurrentProcess()->HasSwitch(
19 switches::kGoogleProfileInfo); 19 switches::kGoogleProfileInfo);
20 } 20 }
21 21
22 bool IsNewProfileManagement() { 22 bool IsNewProfileManagement() {
23 return CommandLine::ForCurrentProcess()->HasSwitch( 23 return CommandLine::ForCurrentProcess()->HasSwitch(
24 switches::kNewProfileManagement); 24 switches::kNewProfileManagement);
25 } 25 }
26 26
27 } // namespace switches 27 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698