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.h" | 10 #include "base/time.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 int hierarchy_conflicts; | 41 int hierarchy_conflicts; |
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 // True after a client has done a first sync. | |
52 bool initial_sync_ended; | |
53 | 51 |
54 // Total updates available. If zero, nothing left to download. | 52 // Total updates available. If zero, nothing left to download. |
55 int64 updates_available; | 53 int64 updates_available; |
56 // Total updates received by the syncer since browser start. | 54 // Total updates received by the syncer since browser start. |
57 int updates_received; | 55 int updates_received; |
58 // Total updates received that are echoes of our own changes. | 56 // Total updates received that are echoes of our own changes. |
59 int reflected_updates_received; | 57 int reflected_updates_received; |
60 // Of updates_received, how many were tombstones. | 58 // Of updates_received, how many were tombstones. |
61 int tombstone_updates_received; | 59 int tombstone_updates_received; |
62 | 60 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 std::string unique_id; | 97 std::string unique_id; |
100 | 98 |
101 // Counters grouped by model type | 99 // Counters grouped by model type |
102 std::vector<int> num_entries_by_type; | 100 std::vector<int> num_entries_by_type; |
103 std::vector<int> num_to_delete_entries_by_type; | 101 std::vector<int> num_to_delete_entries_by_type; |
104 }; | 102 }; |
105 | 103 |
106 } // namespace syncer | 104 } // namespace syncer |
107 | 105 |
108 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ | 106 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ |
OLD | NEW |