Making autoload of profiles obey the kBackgroundModeEnabled preference. That is,...
commitf8c5ea0f96329787b199d4106762b93a6503921f
authorrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 15 Nov 2012 22:22:41 +0000 (15 22:22 +0000)
committerrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 15 Nov 2012 22:22:41 +0000 (15 22:22 +0000)
tree858c42071a8499b754afa4f0e473d895f89a487a
parent875bbaea4f65aa0511a312c94a6e1353ed9f6e9f
Making autoload of profiles obey the kBackgroundModeEnabled preference. That is, if the user does not wish for chrome to continue running in the background, we do not automatically load profiles, even if they have background running extensions.

BUG=139521
TEST=new unittest added

Review URL: https://chromiumcodereview.appspot.com/11363221

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168057 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/profiles/profile_manager.cc
chrome/browser/profiles/profile_manager_unittest.cc