summaryrefslogtreecommitdiffstats
path: root/chrome/browser/collected_cookies_browsertest.cc
diff options
context:
space:
mode:
authornkostylev <nkostylev@chromium.org>2015-02-05 05:57:39 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-05 13:59:01 +0000
commit393309fdf609591e8b3225728992011b0c772cfa (patch)
tree3760d9233c8fca8857dbe5e23c9f35583f7884d0 /chrome/browser/collected_cookies_browsertest.cc
parent36d358e0cdff201a99501e9c986a8a26f8965a40 (diff)
downloadchromium_src-393309fdf609591e8b3225728992011b0c772cfa.zip
chromium_src-393309fdf609591e8b3225728992011b0c772cfa.tar.gz
chromium_src-393309fdf609591e8b3225728992011b0c772cfa.tar.bz2
[cros] Cleanup: remove LoginUtils
Introduced UserSessionManagerTestApi: * InjectStubUserContext() to configure predefined user credentials (StubAuthenticator) * SetShouldLaunchBrowserInTests() to control whether browser instance should be created in tests. Some tests don't really need that and were not designed to handle it properly. LoginUtils methods: * IsWhitelisted() is moved to CrosSettings * CreateAuthenticator() is moved to UserSessionManager * PrepareProfile() and DoBrowserLaunch() were already just a thin wrappers around corresponding methods of UserSessionManager. Tests changes: * MockAuthenticator > StubAuthenticator * Now tests that were using MockLoginUtils to inject their own test profile are using regular profile init code with a stub user_context. BUG=435094 TBR=stevenjb@chromium.org Review URL: https://codereview.chromium.org/745613002 Cr-Commit-Position: refs/heads/master@{#314798}
Diffstat (limited to 'chrome/browser/collected_cookies_browsertest.cc')
0 files changed, 0 insertions, 0 deletions