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

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

Issue 11314008: sync: Follow-up to conflict resolution refactor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 8 years, 1 month 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
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 "base/time.h" 10 #include "base/time.h"
(...skipping 22 matching lines...) Expand all
33 int notifications_received; 33 int notifications_received;
34 34
35 SyncProtocolError sync_protocol_error; 35 SyncProtocolError sync_protocol_error;
36 36
37 // Number of encryption conflicts counted during most recent sync cycle. 37 // Number of encryption conflicts counted during most recent sync cycle.
38 int encryption_conflicts; 38 int encryption_conflicts;
39 39
40 // Number of hierarchy conflicts counted during most recent sync cycle. 40 // Number of hierarchy conflicts counted during most recent sync cycle.
41 int hierarchy_conflicts; 41 int hierarchy_conflicts;
42 42
43 // Number of simple conflicts counted during most recent sync cycle.
44 int simple_conflicts;
45
46 // Number of items the server refused to commit due to conflict during most 43 // Number of items the server refused to commit due to conflict during most
47 // recent sync cycle. 44 // recent sync cycle.
48 int server_conflicts; 45 int server_conflicts;
49 46
50 // Number of items successfully committed during most recent sync cycle. 47 // Number of items successfully committed during most recent sync cycle.
51 int committed_count; 48 int committed_count;
52 49
53 bool syncing; 50 bool syncing;
54 // True after a client has done a first sync. 51 // True after a client has done a first sync.
55 bool initial_sync_ended; 52 bool initial_sync_ended;
(...skipping 22 matching lines...) Expand all
78 int sync_cycles_with_commits; 75 int sync_cycles_with_commits;
79 int sync_cycles_without_commits; 76 int sync_cycles_without_commits;
80 77
81 // Count of useless and useful syncs we perform. 78 // Count of useless and useful syncs we perform.
82 int useless_sync_cycles; 79 int useless_sync_cycles;
83 int useful_sync_cycles; 80 int useful_sync_cycles;
84 81
85 // Nudge counts for each possible source 82 // Nudge counts for each possible source
86 int nudge_source_notification; 83 int nudge_source_notification;
87 int nudge_source_local; 84 int nudge_source_local;
88 int nudge_source_continuation;
89 int nudge_source_local_refresh; 85 int nudge_source_local_refresh;
90 86
91 // Encryption related. 87 // Encryption related.
92 ModelTypeSet encrypted_types; 88 ModelTypeSet encrypted_types;
93 bool cryptographer_ready; 89 bool cryptographer_ready;
94 bool crypto_has_pending_keys; 90 bool crypto_has_pending_keys;
95 bool has_keystore_key; 91 bool has_keystore_key;
96 base::Time keystore_migration_time; 92 base::Time keystore_migration_time;
97 PassphraseType passphrase_type; 93 PassphraseType passphrase_type;
98 94
99 // Per-datatype throttled status. 95 // Per-datatype throttled status.
100 ModelTypeSet throttled_types; 96 ModelTypeSet throttled_types;
101 97
102 // The unique identifer for this client. 98 // The unique identifer for this client.
103 std::string unique_id; 99 std::string unique_id;
104 }; 100 };
105 101
106 } // namespace syncer 102 } // namespace syncer
107 103
108 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 104 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
OLDNEW
« no previous file with comments | « sync/internal_api/js_sync_manager_observer_unittest.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