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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.cc

Issue 8334030: Merge search engines sync data type with Preferences. Sync the default search provider. Add some ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
Index: chrome/browser/ui/webui/sync_setup_handler.cc
===================================================================
--- chrome/browser/ui/webui/sync_setup_handler.cc (revision 108905)
+++ chrome/browser/ui/webui/sync_setup_handler.cc (working copy)
@@ -124,12 +124,6 @@
if (sync_typed_urls)
config->data_types.insert(syncable::TYPED_URLS);
- bool sync_search_engines;
- if (!result->GetBoolean("syncSearchEngines", &sync_search_engines))
- return false;
- if (sync_search_engines)
- config->data_types.insert(syncable::SEARCH_ENGINES);
-
bool sync_sessions;
if (!result->GetBoolean("syncSessions", &sync_sessions))
return false;
@@ -330,7 +324,6 @@
{ "extensions", IDS_SYNC_DATATYPE_EXTENSIONS },
{ "typedURLs", IDS_SYNC_DATATYPE_TYPED_URLS },
{ "apps", IDS_SYNC_DATATYPE_APPS },
- { "searchEngines", IDS_SYNC_DATATYPE_SEARCH_ENGINES },
{ "openTabs", IDS_SYNC_DATATYPE_TABS },
{ "syncZeroDataTypesError", IDS_SYNC_ZERO_DATA_TYPES_ERROR },
{ "serviceUnavailableError", IDS_SYNC_SETUP_ABORTED_BY_PENDING_CLEAR },

Powered by Google App Engine
This is Rietveld 408576698