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

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

Issue 7669052: Added DataTypeController integration and UI surfacing for syncing Search Engines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed notification registration. Created 9 years, 4 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_setup_flow.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_setup_wizard_unittest.cc
===================================================================
--- chrome/browser/sync/sync_setup_wizard_unittest.cc (revision 98647)
+++ chrome/browser/sync/sync_setup_wizard_unittest.cc (working copy)
@@ -324,8 +324,8 @@
"{\"keepEverythingSynced\":false,\"syncBookmarks\":true,"
"\"syncPreferences\":true,\"syncThemes\":false,\"syncPasswords\":false,"
"\"syncAutofill\":false,\"syncExtensions\":false,\"syncTypedUrls\":true,"
- "\"syncApps\":true,\"syncSessions\":false,\"usePassphrase\":false,"
- "\"encryptAllData\":false}";
+ "\"syncApps\":true,\"syncSearchEngines\":false,\"syncSessions\":false,"
+ "\"usePassphrase\":false,\"encryptAllData\":false}";
data_type_choices_value.Append(new StringValue(data_type_choices));
// Simulate the user choosing data types; bookmarks, prefs, typed URLS, and
@@ -341,6 +341,7 @@
EXPECT_EQ(0U, service_->chosen_data_types_.count(syncable::EXTENSIONS));
EXPECT_EQ(1U, service_->chosen_data_types_.count(syncable::TYPED_URLS));
EXPECT_EQ(1U, service_->chosen_data_types_.count(syncable::APPS));
+ EXPECT_EQ(0U, service_->chosen_data_types_.count(syncable::SEARCH_ENGINES));
CloseSetupUI();
}
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698