Fix profile creation in FakeLoginUtils.
commit41a5f0066ab201cf445998e739198d0181a7b2d1
authortnagel@chromium.org <tnagel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 13:01:50 +0000 (16 13:01 +0000)
committertnagel@chromium.org <tnagel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 13:01:50 +0000 (16 13:01 +0000)
tree223477cf01856733abfcbe2dc141d7877c620086
parentbbc169c82379590296e7f87e7df51785bd1646da
Fix profile creation in FakeLoginUtils.

Don't hard-code profile location to username_hash because that does not honor the --login-profile switch.  This obliterates the need for magic --login-profile names in wallpaper tests, therefore these are replaced by "user".

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264190 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/login/fake_login_utils.cc
chrome/browser/chromeos/login/fake_login_utils.h
chrome/browser/chromeos/login/user.h
chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc
chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc