OLD | NEW |
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/time.h" | 10 #include "base/time/time.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 // 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 |
44 // recent sync cycle. | 44 // recent sync cycle. |
45 int server_conflicts; | 45 int server_conflicts; |
46 | 46 |
47 // Number of items successfully committed during most recent sync cycle. | 47 // Number of items successfully committed during most recent sync cycle. |
48 int committed_count; | 48 int committed_count; |
49 | 49 |
50 bool syncing; | 50 bool syncing; |
51 | 51 |
52 // Total updates available. If zero, nothing left to download. | |
53 int64 updates_available; | |
54 // Total updates received by the syncer since browser start. | 52 // Total updates received by the syncer since browser start. |
55 int updates_received; | 53 int updates_received; |
56 // Total updates received that are echoes of our own changes. | 54 // Total updates received that are echoes of our own changes. |
57 int reflected_updates_received; | 55 int reflected_updates_received; |
58 // Of updates_received, how many were tombstones. | 56 // Of updates_received, how many were tombstones. |
59 int tombstone_updates_received; | 57 int tombstone_updates_received; |
60 | 58 |
61 // Total successful commits. | 59 // Total successful commits. |
62 int num_commits_total; | 60 int num_commits_total; |
63 | 61 |
(...skipping 27 matching lines...) Expand all Loading... |
91 std::vector<int> num_entries_by_type; | 89 std::vector<int> num_entries_by_type; |
92 std::vector<int> num_to_delete_entries_by_type; | 90 std::vector<int> num_to_delete_entries_by_type; |
93 | 91 |
94 // Time of next retry if sync scheduler is throttled or in backoff. | 92 // Time of next retry if sync scheduler is throttled or in backoff. |
95 base::Time retry_time; | 93 base::Time retry_time; |
96 }; | 94 }; |
97 | 95 |
98 } // namespace syncer | 96 } // namespace syncer |
99 | 97 |
100 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ | 98 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ |
OLD | NEW |