Do not set kGoogleServicesUsername for device-local accounts
commit0254b569e5ea8e9a99142aa02f73b39dbd4f49c2
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 12:38:48 +0000 (28 12:38 +0000)
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 12:38:48 +0000 (28 12:38 +0000)
tree7a03517d5e216058e6db118efdf1a6dda555fbbb
parentde1e8a413cada030da57b7a635616ff956c5c330
Do not set kGoogleServicesUsername for device-local accounts

The kGoogleServicesUsername pref indicates that Chrome is signed in with a
GAIA account. Since device-local accounts do not have GAIA credentials,
this pref should not be set for them.

BUG=327849
TEST=Extended browser tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266529 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/chrome_browser_main_chromeos.cc
chrome/browser/chromeos/login/kiosk_browsertest.cc
chrome/browser/chromeos/login/login_utils.cc
chrome/browser/chromeos/policy/device_local_account_browsertest.cc