Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: chrome/browser/sync/sync_prefs_unittest.cc

Issue 11445002: Sync user's custom spellcheck dictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge master Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/sync_prefs.cc ('k') | chrome/browser/sync/test/integration/dictionary_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_prefs_unittest.cc
diff --git a/chrome/browser/sync/sync_prefs_unittest.cc b/chrome/browser/sync/sync_prefs_unittest.cc
index b38b187f15aa681a0d2e1600aeffe0fb448ac0e6..79b24d5e1f5154f3214a2bc43aa6d6045269c927 100644
--- a/chrome/browser/sync/sync_prefs_unittest.cc
+++ b/chrome/browser/sync/sync_prefs_unittest.cc
@@ -36,6 +36,7 @@ syncer::ModelTypeSet GetUserVisibleTypes() {
user_visible_types.Remove(syncer::APP_NOTIFICATIONS);
user_visible_types.Remove(syncer::APP_SETTINGS);
user_visible_types.Remove(syncer::AUTOFILL_PROFILE);
+ user_visible_types.Remove(syncer::DICTIONARY);
user_visible_types.Remove(syncer::EXTENSION_SETTINGS);
user_visible_types.Remove(syncer::SEARCH_ENGINES);
return user_visible_types;
@@ -107,6 +108,7 @@ TEST_F(SyncPrefsTest, PreferredTypesNotKeepEverythingSynced) {
expected_preferred_types.Put(syncer::AUTOFILL_PROFILE);
}
if (it.Get() == syncer::PREFERENCES) {
+ expected_preferred_types.Put(syncer::DICTIONARY);
expected_preferred_types.Put(syncer::SEARCH_ENGINES);
}
if (it.Get() == syncer::APPS) {
« no previous file with comments | « chrome/browser/sync/sync_prefs.cc ('k') | chrome/browser/sync/test/integration/dictionary_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698