Lines Matching defs:snapshot
48 const sessions::SyncSessionSnapshot* snapshot = event.snapshot;
49 status.unsynced_count += static_cast<int>(snapshot->unsynced_count);
50 status.conflicting_count += snapshot->errors.num_conflicting_commits;
53 status.conflicting_count += snapshot->num_conflicting_updates;
55 status.syncing |= snapshot->syncer_status.syncing;
56 status.syncing = snapshot->has_more_to_sync && snapshot->is_silenced;
57 status.initial_sync_ended |= snapshot->is_share_usable;
58 status.syncer_stuck |= snapshot->syncer_status.syncer_stuck;
60 const sessions::ErrorCounters& errors(snapshot->errors);
68 status.updates_available += snapshot->num_server_changes_remaining;
75 snapshot->syncer_status.num_updates_downloaded_total;
77 snapshot->syncer_status.num_tombstone_updates_downloaded_total;