| Index: chrome/browser/signin/easy_unlock_service.cc
|
| diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
|
| index d81c82ff43d3399c821dd45e87892a3e918d437b..495b30cf61cecc5f7414245ac5612e4e92becec1 100644
|
| --- a/chrome/browser/signin/easy_unlock_service.cc
|
| +++ b/chrome/browser/signin/easy_unlock_service.cc
|
| @@ -85,7 +85,7 @@ EasyUnlockService* EasyUnlockService::GetForUser(
|
|
|
| // static
|
| bool EasyUnlockService::IsSignInEnabled() {
|
| - return !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + return !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| proximity_auth::switches::kDisableEasyUnlock);
|
| }
|
|
|
| @@ -261,7 +261,7 @@ bool EasyUnlockService::IsAllowed() {
|
| if (shut_down_)
|
| return false;
|
|
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| proximity_auth::switches::kDisableEasyUnlock)) {
|
| return false;
|
| }
|
| @@ -500,7 +500,7 @@ void EasyUnlockService::LoadApp() {
|
| #if defined(OS_CHROMEOS)
|
| // TODO(xiyuan): Remove this when the app is bundled with chrome.
|
| if (!base::SysInfo::IsRunningOnChromeOS() &&
|
| - !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| proximity_auth::switches::kForceLoadEasyUnlockAppInTests)) {
|
| return;
|
| }
|
| @@ -514,7 +514,8 @@ void EasyUnlockService::LoadApp() {
|
|
|
| #ifndef NDEBUG
|
| // Only allow app path override switch for debug build.
|
| - const CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + const base::CommandLine* command_line =
|
| + base::CommandLine::ForCurrentProcess();
|
| if (command_line->HasSwitch(switches::kEasyUnlockAppPath)) {
|
| easy_unlock_path =
|
| command_line->GetSwitchValuePath(switches::kEasyUnlockAppPath);
|
|
|