summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_prefs_unittest.cc
diff options
context:
space:
mode:
authoralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 22:18:55 +0000
committeralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 22:18:55 +0000
commit43fe640e64aac277a5e0b28fe6b58d2973164df8 (patch)
tree367962ca89c283d63bb3ef810e6593f3b0317811 /chrome/browser/sync/sync_prefs_unittest.cc
parentcbe30167853f161d2aaa16846d9b8bea16027858 (diff)
downloadchromium_src-43fe640e64aac277a5e0b28fe6b58d2973164df8.zip
chromium_src-43fe640e64aac277a5e0b28fe6b58d2973164df8.tar.gz
chromium_src-43fe640e64aac277a5e0b28fe6b58d2973164df8.tar.bz2
sync: Implementation of Priority Preferences.
Priority preferences are similar to normal preferences but are never encrypted and are synced ahead of other datatypes. Because they're never encrypted, on first sync, they can be synced immediately after login, before the user is prompted for a passphrase. Expected uses of priority preferences include hardware setting (eg. trackpad speed, scroll direction, etc.) as well as settings that could be 2-way synced with existing Google Account settings (eg. language). BUG=168648 Review URL: https://chromiumcodereview.appspot.com/12033093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/sync_prefs_unittest.cc')
-rw-r--r--chrome/browser/sync/sync_prefs_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/sync/sync_prefs_unittest.cc b/chrome/browser/sync/sync_prefs_unittest.cc
index 6b4d035..c6f1b66 100644
--- a/chrome/browser/sync/sync_prefs_unittest.cc
+++ b/chrome/browser/sync/sync_prefs_unittest.cc
@@ -145,6 +145,7 @@ TEST_F(SyncPrefsTest, PreferredTypesNotKeepEverythingSynced) {
}
if (it.Get() == syncer::PREFERENCES) {
expected_preferred_types.Put(syncer::DICTIONARY);
+ expected_preferred_types.Put(syncer::PRIORITY_PREFERENCES);
expected_preferred_types.Put(syncer::SEARCH_ENGINES);
}
if (it.Get() == syncer::APPS) {