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

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

Issue 3165046: sync: disable the mistakenly enabled sessions code. (Closed)
Patch Set: rebase Created 10 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/profile_sync_factory_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_setup_flow.cc
diff --git a/chrome/browser/sync/sync_setup_flow.cc b/chrome/browser/sync/sync_setup_flow.cc
index 9a59680f67a43f7efbef4f7dfc22ad48f0391a26..cb58e9dbf3b8b4d6582a1c67434740dbf6247c69 100644
--- a/chrome/browser/sync/sync_setup_flow.cc
+++ b/chrome/browser/sync/sync_setup_flow.cc
@@ -106,12 +106,6 @@ static bool GetDataTypeChoiceData(const std::string& json,
if (sync_extensions)
data_types->insert(syncable::EXTENSIONS);
- bool sync_sessions;
- if (!result->GetBoolean("syncSessions", &sync_sessions))
- return false;
- if (sync_sessions)
- data_types->insert(syncable::SESSIONS);
-
bool sync_typed_urls;
if (!result->GetBoolean("syncTypedUrls", &sync_typed_urls))
return false;
« no previous file with comments | « chrome/browser/sync/profile_sync_factory_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698