When user first time logs into Chromeos, he doesn't have "language" setting filled in his Chromeos profile. So he will inherit owner's locale.
We can improve this experience defaulting to his Google Account locale. So that the actual algorithm of language selection looks like this:
1) Use "language" setting from profile.
2) If failed, use "locale" setting from Google Account.
3) If failed, use owner's default.
BUG=
chromium:140591
TEST=
1) Remove user from device.
2) Clear user profile in
https://www.google.com/settings/chrome/sync
3) Set Account language to some different to owners locale.
4) Login to device should now either use Account language immediately after login, or "Locale changed" message should appear after Account data is synchronized.
Committed:
https://src.chromium.org/viewvc/chrome?view=rev&revision=224862