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

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

Issue 10991005: Added nudge source counters to about:sync. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
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 "sync/internal_api/public/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),
(...skipping 11 matching lines...) Expand all
22 tombstone_updates_received(0), 22 tombstone_updates_received(0),
23 num_commits_total(0), 23 num_commits_total(0),
24 num_local_overwrites_total(0), 24 num_local_overwrites_total(0),
25 num_server_overwrites_total(0), 25 num_server_overwrites_total(0),
26 nonempty_get_updates(0), 26 nonempty_get_updates(0),
27 empty_get_updates(0), 27 empty_get_updates(0),
28 sync_cycles_with_commits(0), 28 sync_cycles_with_commits(0),
29 sync_cycles_without_commits(0), 29 sync_cycles_without_commits(0),
30 useless_sync_cycles(0), 30 useless_sync_cycles(0),
31 useful_sync_cycles(0), 31 useful_sync_cycles(0),
32 nudge_source_unknown(0),
33 nudge_source_notification(0),
34 nudge_source_local(0),
35 nudge_source_continuation(0),
36 nudge_source_local_refresh(0),
32 cryptographer_ready(false), 37 cryptographer_ready(false),
33 crypto_has_pending_keys(false), 38 crypto_has_pending_keys(false),
34 has_keystore_key(false), 39 has_keystore_key(false),
35 passphrase_type(IMPLICIT_PASSPHRASE) { 40 passphrase_type(IMPLICIT_PASSPHRASE) {
36 } 41 }
37 42
38 SyncStatus::~SyncStatus() { 43 SyncStatus::~SyncStatus() {
39 } 44 }
40 45
41 } // namespace syncer 46 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698