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

Unified Diff: sync/engine/apply_control_data_updates.cc

Issue 11474036: Remove initial_sync_ended bits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 8 years 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 | « sync/engine/all_status.cc ('k') | sync/engine/apply_control_data_updates_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/apply_control_data_updates.cc
diff --git a/sync/engine/apply_control_data_updates.cc b/sync/engine/apply_control_data_updates.cc
index 62773657f0bc3409688b81d9c4619985db4f405c..09778c35e2bc1ed271ca1282db34c4626699e40e 100644
--- a/sync/engine/apply_control_data_updates.cc
+++ b/sync/engine/apply_control_data_updates.cc
@@ -79,17 +79,6 @@ void ApplyControlDataUpdates(sessions::SyncSession* session) {
&entry,
dir->GetCryptographer(&trans));
}
-
- // Set initial sync ended bits for all control types requested.
- for (ModelTypeSet::Iterator it =
- session->status_controller().updates_request_types().First();
- it.Good(); it.Inc()) {
- if (!IsControlType(it.Get()))
- continue;
-
- // This gets persisted to the directory's backing store.
- dir->set_initial_sync_ended_for_type(it.Get(), true);
- }
}
// Update the nigori handler with the server's nigori node.
« no previous file with comments | « sync/engine/all_status.cc ('k') | sync/engine/apply_control_data_updates_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698