| 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 CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 int committed_count; | 151 int committed_count; |
| 152 | 152 |
| 153 bool syncing; | 153 bool syncing; |
| 154 // True after a client has done a first sync. | 154 // True after a client has done a first sync. |
| 155 bool initial_sync_ended; | 155 bool initial_sync_ended; |
| 156 | 156 |
| 157 // Total updates available. If zero, nothing left to download. | 157 // Total updates available. If zero, nothing left to download. |
| 158 int64 updates_available; | 158 int64 updates_available; |
| 159 // Total updates received by the syncer since browser start. | 159 // Total updates received by the syncer since browser start. |
| 160 int updates_received; | 160 int updates_received; |
| 161 // Total updates received that are echoes of our own changes. |
| 162 int reflected_updates_received; |
| 161 | 163 |
| 162 // Of updates_received, how many were tombstones. | 164 // Of updates_received, how many were tombstones. |
| 163 int tombstone_updates_received; | 165 int tombstone_updates_received; |
| 164 | 166 |
| 165 // Total number of overwrites due to conflict resolver since browser start. | 167 // Total number of overwrites due to conflict resolver since browser start. |
| 166 int num_local_overwrites_total; | 168 int num_local_overwrites_total; |
| 167 int num_server_overwrites_total; | 169 int num_server_overwrites_total; |
| 168 | 170 |
| 169 // Count of empty and non empty getupdates; | 171 // Count of empty and non empty getupdates; |
| 170 int nonempty_get_updates; | 172 int nonempty_get_updates; |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 sync_api::UserShare* share); | 668 sync_api::UserShare* share); |
| 667 | 669 |
| 668 const char* ConnectionStatusToString(ConnectionStatus status); | 670 const char* ConnectionStatusToString(ConnectionStatus status); |
| 669 | 671 |
| 670 // Returns the string representation of a PassphraseRequiredReason value. | 672 // Returns the string representation of a PassphraseRequiredReason value. |
| 671 const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason); | 673 const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason); |
| 672 | 674 |
| 673 } // namespace sync_api | 675 } // namespace sync_api |
| 674 | 676 |
| 675 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 677 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |