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

Side by Side Diff: sync/internal_api/public/engine/sync_status.cc

Issue 10454105: sync: Refactor per-datatype throttling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/public/engine/sync_status.h ('k') | sync/internal_api/sync_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "sync/internal_api/public/engine/sync_status.h"
6
7 namespace sync_api {
8
9 SyncStatus::SyncStatus()
10 : notifications_enabled(false),
11 notifications_received(0),
12 encryption_conflicts(0),
13 hierarchy_conflicts(0),
14 simple_conflicts(0),
15 server_conflicts(0),
16 committed_count(0),
17 syncing(false),
18 initial_sync_ended(false),
19 updates_available(0),
20 updates_received(0),
21 reflected_updates_received(0),
22 tombstone_updates_received(0),
23 num_commits_total(0),
24 num_local_overwrites_total(0),
25 num_server_overwrites_total(0),
26 nonempty_get_updates(0),
27 empty_get_updates(0),
28 sync_cycles_with_commits(0),
29 sync_cycles_without_commits(0),
30 useless_sync_cycles(0),
31 useful_sync_cycles(0),
32 cryptographer_ready(false),
33 crypto_has_pending_keys(false) {
34 }
35
36 SyncStatus::~SyncStatus() {
37 }
38
39 } // namespace sync_api
OLDNEW
« no previous file with comments | « sync/internal_api/public/engine/sync_status.h ('k') | sync/internal_api/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698