Disable browser restart just after login

This change effectively revert essential part of https://chromiumcodereview.appspot.com/16770002
It is at least second regression introduced by this changes.

BUG=252442,251261
TEST=manual
R=nkostylev@chromium.org

Review URL: https://codereview.chromium.org/17526006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207797 0039d316-1c4b-4281-b951-d872f2087c98
parent c5029b33
...@@ -251,6 +251,9 @@ void LoginUtilsImpl::DoBrowserLaunch(Profile* profile, ...@@ -251,6 +251,9 @@ void LoginUtilsImpl::DoBrowserLaunch(Profile* profile,
return; return;
} }
#if 0
// Temporary disable until all regressions introduced are fixed.
// See crbug.com/252442, crbug.com/251261, crbug.com/251253
CommandLine user_flags(CommandLine::NO_PROGRAM); CommandLine user_flags(CommandLine::NO_PROGRAM);
about_flags::PrefServiceFlagsStorage flags_storage_(profile->GetPrefs()); about_flags::PrefServiceFlagsStorage flags_storage_(profile->GetPrefs());
about_flags::ConvertFlagsToSwitches(&flags_storage_, &user_flags); about_flags::ConvertFlagsToSwitches(&flags_storage_, &user_flags);
...@@ -265,6 +268,7 @@ void LoginUtilsImpl::DoBrowserLaunch(Profile* profile, ...@@ -265,6 +268,7 @@ void LoginUtilsImpl::DoBrowserLaunch(Profile* profile,
chrome::ExitCleanly(); chrome::ExitCleanly();
return; return;
} }
#endif
if (login_host) { if (login_host) {
login_host->SetStatusAreaVisible(true); login_host->SetStatusAreaVisible(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment