chromeos: Fix user whiltelist not properly populated regression.
commit8f2df86af0e3b0396c8307fd57c26fa067711acb
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 May 2012 00:45:23 +0000 (11 00:45 +0000)
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 May 2012 00:45:23 +0000 (11 00:45 +0000)
tree5f33c66518cdac59f7ab3864119258efb826a52b
parent7bb8abfae13ca4aebb24ca379f60041f31e7da44
chromeos: Fix user whiltelist  not properly populated regression.

This happens because the whitelist pref value is stored in policy and policy set
on device is asynchronous. Before previous policy write comes back, pref value
cache is stale and should not be used as a basis for further mutating (as what
happens when we AppendToList while there is a previously queued AppendToList).

BUG=127215
TEST=Verify fix for issue 127215.

Review URL: https://chromiumcodereview.appspot.com/10332094

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136466 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/cros_settings.h
chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc