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

Unified Diff: chrome/browser/sync/internal_api/all_status.cc

Issue 10038041: sync: Loop committing items without downloading updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/internal_api/all_status.cc
diff --git a/chrome/browser/sync/internal_api/all_status.cc b/chrome/browser/sync/internal_api/all_status.cc
index c47dac48305cb3201936f7bcf91db733857ac8bd..4808e2224a773c3b486531f14f8b435375f33a5a 100644
--- a/chrome/browser/sync/internal_api/all_status.cc
+++ b/chrome/browser/sync/internal_api/all_status.cc
@@ -30,7 +30,6 @@ sync_api::SyncManager::Status AllStatus::CreateBlankStatus() const {
// whose values accumulate (e.g. lifetime counters like updates_received)
// are not to be cleared here.
sync_api::SyncManager::Status status = status_;
- status.unsynced_count = 0;
status.encryption_conflicts = 0;
status.hierarchy_conflicts = 0;
status.simple_conflicts = 0;
@@ -45,7 +44,6 @@ sync_api::SyncManager::Status AllStatus::CalcSyncing(
const SyncEngineEvent &event) const {
sync_api::SyncManager::Status status = CreateBlankStatus();
const sessions::SyncSessionSnapshot* snapshot = event.snapshot;
- status.unsynced_count = static_cast<int>(snapshot->unsynced_count);
status.encryption_conflicts = snapshot->num_encryption_conflicts;
status.hierarchy_conflicts = snapshot->num_hierarchy_conflicts;
status.simple_conflicts = snapshot->num_simple_conflicts;

Powered by Google App Engine
This is Rietveld 408576698