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

Unified Diff: sync/engine/all_status.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 | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/apply_control_data_updates.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/all_status.cc
diff --git a/sync/engine/all_status.cc b/sync/engine/all_status.cc
index ff85d57e42de5de5fae642269cdd5b114b55886c..24ab03a839e7088a5b15875e532f51b681efb70f 100644
--- a/sync/engine/all_status.cc
+++ b/sync/engine/all_status.cc
@@ -14,7 +14,6 @@
namespace syncer {
AllStatus::AllStatus() {
- status_.initial_sync_ended = true;
status_.notifications_enabled = false;
status_.cryptographer_ready = false;
status_.crypto_has_pending_keys = false;
@@ -32,7 +31,6 @@ SyncStatus AllStatus::CreateBlankStatus() const {
status.hierarchy_conflicts = 0;
status.server_conflicts = 0;
status.committed_count = 0;
- status.initial_sync_ended = false;
status.updates_available = 0;
return status;
}
@@ -52,8 +50,6 @@ SyncStatus AllStatus::CalcSyncing(const SyncEngineEvent &event) const {
status.syncing = false;
}
- status.initial_sync_ended |= snapshot.is_share_usable();
-
status.updates_available += snapshot.num_server_changes_remaining();
status.sync_protocol_error =
snapshot.model_neutral_state().sync_protocol_error;
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/apply_control_data_updates.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698