| OLD | NEW |
| 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() { |
| 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 |
| OLD | NEW |