chromeos::Preferences works correctly in multi-profile session.
commitaa003a516ad8ee8e86066ab2ea343a30426b47ca
authordzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 15 Feb 2014 06:24:23 +0000 (15 06:24 +0000)
committerdzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 15 Feb 2014 06:24:23 +0000 (15 06:24 +0000)
treee19880a3c534d89777918faa4236664227e84ada
parentc1c54dc8a0f400557db088432f89160e4fe1b7ab
chromeos::Preferences works correctly in multi-profile session.

* When pref is changed it is applied only if user owning this pref is active.
* Owner's prefernces is saved to local state even if owner is inactive.

Additionally:
* Removed deprecated pref kEnableTouchpadThreeFingerSwipe.

BUG=325564,223480
TEST=browser_tests --gtest_filter=PreferencesTest.*
TBR=noms

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251550 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/login/login_browsertest.cc
chrome/browser/chromeos/preferences.cc
chrome/browser/chromeos/preferences.h
chrome/browser/chromeos/preferences_browsertest.cc [new file with mode: 0644]
chrome/browser/chromeos/preferences_unittest.cc
chrome/browser/profiles/off_the_record_profile_impl.cc
chrome/browser/profiles/profile_impl.cc
chrome/chrome_tests.gypi