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

Side by Side Diff: components/sync/engine/sync_status.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/sync/engine/sync_status.h ('k') | components/sync/engine_impl/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/internal_api/public/engine/sync_status.h" 5 #include "components/sync/engine/sync_status.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 SyncStatus::SyncStatus() 9 SyncStatus::SyncStatus()
10 : notifications_enabled(false), 10 : notifications_enabled(false),
11 notifications_received(0), 11 notifications_received(0),
12 encryption_conflicts(0), 12 encryption_conflicts(0),
13 hierarchy_conflicts(0), 13 hierarchy_conflicts(0),
14 server_conflicts(0), 14 server_conflicts(0),
15 committed_count(0), 15 committed_count(0),
16 syncing(false), 16 syncing(false),
17 updates_received(0), 17 updates_received(0),
18 reflected_updates_received(0), 18 reflected_updates_received(0),
19 tombstone_updates_received(0), 19 tombstone_updates_received(0),
20 num_commits_total(0), 20 num_commits_total(0),
21 num_local_overwrites_total(0), 21 num_local_overwrites_total(0),
22 num_server_overwrites_total(0), 22 num_server_overwrites_total(0),
23 nudge_source_notification(0), 23 nudge_source_notification(0),
24 nudge_source_local(0), 24 nudge_source_local(0),
25 nudge_source_local_refresh(0), 25 nudge_source_local_refresh(0),
26 cryptographer_ready(false), 26 cryptographer_ready(false),
27 crypto_has_pending_keys(false), 27 crypto_has_pending_keys(false),
28 has_keystore_key(false), 28 has_keystore_key(false),
29 passphrase_type(IMPLICIT_PASSPHRASE), 29 passphrase_type(IMPLICIT_PASSPHRASE),
30 num_entries_by_type(MODEL_TYPE_COUNT, 0), 30 num_entries_by_type(MODEL_TYPE_COUNT, 0),
31 num_to_delete_entries_by_type(MODEL_TYPE_COUNT, 0) {} 31 num_to_delete_entries_by_type(MODEL_TYPE_COUNT, 0) {}
32 32
33 SyncStatus::SyncStatus(const SyncStatus& other) = default; 33 SyncStatus::SyncStatus(const SyncStatus& other) = default;
34 34
35 SyncStatus::~SyncStatus() { 35 SyncStatus::~SyncStatus() {}
36 }
37 36
38 } // namespace syncer 37 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine/sync_status.h ('k') | components/sync/engine_impl/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698