Fix up Owner settings on first load
commitb6ff3ecba75d2d012785e77f00f686e6849c2012
authorcmasone <cmasone@chromium.org>
Thu, 26 Mar 2015 16:57:27 +0000 (26 09:57 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 16:58:06 +0000 (26 16:58 +0000)
tree876ad36029d026cba0ad00cd7b3068d472d45cc4
parent418115b3467e12e606e6e48ac3532f583e9f09ac
Fix up Owner settings on first load

The session_manager has been mitigating some potential Owner settings
edge cases for quite some time, mostly around the user whitelist being
enabled without the owner on it! While these should all be gone, very
old devices being used for the first time could still run into
this. That said, Chrome's in a better position to handle this issue,
so let's move the functionality here.

BUG=chromium:422046
TEST=unit

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

Cr-Commit-Position: refs/heads/master@{#322402}
chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc