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

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

Issue 14344002: Sync: Turn on full history sync by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: chrome/browser/sync/sync_prefs.cc
diff --git a/chrome/browser/sync/sync_prefs.cc b/chrome/browser/sync/sync_prefs.cc
index ae25f7fbe2527c58c05b312bd013d58e5c8889eb..a26618e0f1bf6a9da5dc2b40c321e519d1902d95 100644
--- a/chrome/browser/sync/sync_prefs.cc
+++ b/chrome/browser/sync/sync_prefs.cc
@@ -415,12 +415,9 @@ void SyncPrefs::RegisterPrefGroups() {
pref_groups_[syncer::PREFERENCES].Put(syncer::SEARCH_ENGINES);
pref_groups_[syncer::TYPED_URLS].Put(syncer::HISTORY_DELETE_DIRECTIVES);
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- if (command_line.HasSwitch(switches::kHistoryEnableFullHistorySync)) {
- pref_groups_[syncer::TYPED_URLS].Put(syncer::SESSIONS);
- pref_groups_[syncer::TYPED_URLS].Put(syncer::FAVICON_IMAGES);
- pref_groups_[syncer::TYPED_URLS].Put(syncer::FAVICON_TRACKING);
- }
+ pref_groups_[syncer::TYPED_URLS].Put(syncer::SESSIONS);
Nicolas Zea 2013/04/18 17:43:35 I think we should have this guarded by !kDisableFu
Patrick Dubroy 2013/04/19 09:58:09 Done.
+ pref_groups_[syncer::TYPED_URLS].Put(syncer::FAVICON_IMAGES);
+ pref_groups_[syncer::TYPED_URLS].Put(syncer::FAVICON_TRACKING);
pref_groups_[syncer::PROXY_TABS].Put(syncer::SESSIONS);
pref_groups_[syncer::PROXY_TABS].Put(syncer::FAVICON_IMAGES);
« no previous file with comments | « chrome/browser/sync/profile_sync_components_factory_impl.cc ('k') | chrome/browser/sync/sync_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698