Chromium Code Reviews| Index: chrome/browser/chromeos/login/login_utils.cc |
| diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc |
| index ecb901de04c66c1e2493da7358c0ca753045b59e..b1f1e676e01a22307ed2354e1f827fefda3e9a3f 100644 |
| --- a/chrome/browser/chromeos/login/login_utils.cc |
| +++ b/chrome/browser/chromeos/login/login_utils.cc |
| @@ -251,21 +251,6 @@ void LoginUtilsImpl::DoBrowserLaunch(Profile* profile, |
| return; |
| } |
| - CommandLine user_flags(CommandLine::NO_PROGRAM); |
|
Nikita (slow)
2013/06/21 10:49:24
Let's leave this code and put it behind ifdef inst
Dmitry Polukhin
2013/06/21 10:59:31
Done.
|
| - about_flags::PrefServiceFlagsStorage flags_storage_(profile->GetPrefs()); |
| - about_flags::ConvertFlagsToSwitches(&flags_storage_, &user_flags); |
| - if (!about_flags::AreSwitchesIdenticalToCurrentCommandLine( |
| - user_flags, *CommandLine::ForCurrentProcess())) { |
| - CommandLine::StringVector flags; |
| - // argv[0] is the program name |CommandLine::NO_PROGRAM|. |
| - flags.assign(user_flags.argv().begin() + 1, user_flags.argv().end()); |
| - VLOG(1) << "Restarting to apply per-session flags..."; |
| - DBusThreadManager::Get()->GetSessionManagerClient()->SetFlagsForUser( |
| - UserManager::Get()->GetActiveUser()->email(), flags); |
| - chrome::ExitCleanly(); |
| - return; |
| - } |
| - |
| if (login_host) { |
| login_host->SetStatusAreaVisible(true); |
| login_host->BeforeSessionStart(); |