summaryrefslogtreecommitdiffstats
path: root/sync/internal_api
diff options
context:
space:
mode:
Diffstat (limited to 'sync/internal_api')
-rw-r--r--sync/internal_api/all_status.cc2
-rw-r--r--sync/internal_api/js_sync_manager_observer_unittest.cc2
-rw-r--r--sync/internal_api/sync_manager.cc1
-rw-r--r--sync/internal_api/sync_manager.h3
4 files changed, 0 insertions, 8 deletions
diff --git a/sync/internal_api/all_status.cc b/sync/internal_api/all_status.cc
index 1f15f1e..17c885d 100644
--- a/sync/internal_api/all_status.cc
+++ b/sync/internal_api/all_status.cc
@@ -29,7 +29,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;
@@ -44,7 +43,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();
diff --git a/sync/internal_api/js_sync_manager_observer_unittest.cc b/sync/internal_api/js_sync_manager_observer_unittest.cc
index a0e021a..31b889b 100644
--- a/sync/internal_api/js_sync_manager_observer_unittest.cc
+++ b/sync/internal_api/js_sync_manager_observer_unittest.cc
@@ -81,12 +81,10 @@ TEST_F(JsSyncManagerObserverTest, OnSyncCycleCompleted) {
download_progress_markers,
false,
true,
- 100,
8,
5,
2,
7,
- false,
sessions::SyncSourceInfo(),
false,
0,
diff --git a/sync/internal_api/sync_manager.cc b/sync/internal_api/sync_manager.cc
index f33fefa..1906185 100644
--- a/sync/internal_api/sync_manager.cc
+++ b/sync/internal_api/sync_manager.cc
@@ -721,7 +721,6 @@ SyncManager::SyncManager(const std::string& name)
SyncManager::Status::Status()
: notifications_enabled(false),
notifications_received(0),
- unsynced_count(0),
encryption_conflicts(0),
hierarchy_conflicts(0),
simple_conflicts(0),
diff --git a/sync/internal_api/sync_manager.h b/sync/internal_api/sync_manager.h
index cfc05a0..4d23d19 100644
--- a/sync/internal_api/sync_manager.h
+++ b/sync/internal_api/sync_manager.h
@@ -102,9 +102,6 @@ class SyncManager {
browser_sync::SyncProtocolError sync_protocol_error;
- // Number of unsynced items counted at the start of most recent sync cycle.
- int unsynced_count;
-
// Number of encryption conflicts counted during most recent sync cycle.
int encryption_conflicts;