summaryrefslogtreecommitdiffstats
path: root/chromium/sync/internal_api/public/engine/sync_status.cc
blob: 6291b290a4a16c15e9ace9544a4b03fd7bfb3dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "sync/internal_api/public/engine/sync_status.h"

namespace syncer {

SyncStatus::SyncStatus()
    : notifications_enabled(false),
      notifications_received(0),
      encryption_conflicts(0),
      hierarchy_conflicts(0),
      server_conflicts(0),
      committed_count(0),
      syncing(false),
      updates_available(0),
      updates_received(0),
      reflected_updates_received(0),
      tombstone_updates_received(0),
      num_commits_total(0),
      num_local_overwrites_total(0),
      num_server_overwrites_total(0),
      nonempty_get_updates(0),
      empty_get_updates(0),
      sync_cycles_with_commits(0),
      sync_cycles_without_commits(0),
      useless_sync_cycles(0),
      useful_sync_cycles(0),
      nudge_source_notification(0),
      nudge_source_local(0),
      nudge_source_local_refresh(0),
      cryptographer_ready(false),
      crypto_has_pending_keys(false),
      has_keystore_key(false),
      passphrase_type(IMPLICIT_PASSPHRASE),
      num_entries_by_type(MODEL_TYPE_COUNT, 0),
      num_to_delete_entries_by_type(MODEL_TYPE_COUNT, 0){
}

SyncStatus::~SyncStatus() {
}

}  // namespace syncer