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

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

Issue 10991005: Added nudge source counters to about:sync. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed indentation 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
« no previous file with comments | « sync/engine/all_status.cc ('k') | sync/internal_api/public/engine/sync_status.cc » ('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 #ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "sync/base/sync_export.h" 10 #include "sync/base/sync_export.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 int empty_get_updates; 74 int empty_get_updates;
75 75
76 // Count of sync cycles that successfully committed items; 76 // Count of sync cycles that successfully committed items;
77 int sync_cycles_with_commits; 77 int sync_cycles_with_commits;
78 int sync_cycles_without_commits; 78 int sync_cycles_without_commits;
79 79
80 // Count of useless and useful syncs we perform. 80 // Count of useless and useful syncs we perform.
81 int useless_sync_cycles; 81 int useless_sync_cycles;
82 int useful_sync_cycles; 82 int useful_sync_cycles;
83 83
84 // Nudge counts for each possible source
85 int nudge_source_notification;
86 int nudge_source_local;
87 int nudge_source_continuation;
88 int nudge_source_local_refresh;
89
84 // Encryption related. 90 // Encryption related.
85 ModelTypeSet encrypted_types; 91 ModelTypeSet encrypted_types;
86 bool cryptographer_ready; 92 bool cryptographer_ready;
87 bool crypto_has_pending_keys; 93 bool crypto_has_pending_keys;
88 bool has_keystore_key; 94 bool has_keystore_key;
89 base::Time keystore_migration_time; 95 base::Time keystore_migration_time;
90 PassphraseType passphrase_type; 96 PassphraseType passphrase_type;
91 97
92 // Per-datatype throttled status. 98 // Per-datatype throttled status.
93 ModelTypeSet throttled_types; 99 ModelTypeSet throttled_types;
94 100
95 // The unique identifer for this client. 101 // The unique identifer for this client.
96 std::string unique_id; 102 std::string unique_id;
97 }; 103 };
98 104
99 } // namespace syncer 105 } // namespace syncer
100 106
101 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 107 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
OLDNEW
« no previous file with comments | « sync/engine/all_status.cc ('k') | sync/internal_api/public/engine/sync_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698