| 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 "sync/base/sync_export.h" | 10 #include "sync/base/sync_export.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 SyncStatus(); | 23 SyncStatus(); |
| 24 ~SyncStatus(); | 24 ~SyncStatus(); |
| 25 | 25 |
| 26 // TODO(akalin): Replace this with a NotificationsDisabledReason | 26 // TODO(akalin): Replace this with a NotificationsDisabledReason |
| 27 // variable. | 27 // variable. |
| 28 bool notifications_enabled; // True only if subscribed for notifications. | 28 bool notifications_enabled; // True only if subscribed for notifications. |
| 29 | 29 |
| 30 // Notifications counters updated by the actions in synapi. | 30 // Notifications counters updated by the actions in synapi. |
| 31 int notifications_received; | 31 int notifications_received; |
| 32 | 32 |
| 33 syncer::SyncProtocolError sync_protocol_error; | 33 SyncProtocolError sync_protocol_error; |
| 34 | 34 |
| 35 // Number of encryption conflicts counted during most recent sync cycle. | 35 // Number of encryption conflicts counted during most recent sync cycle. |
| 36 int encryption_conflicts; | 36 int encryption_conflicts; |
| 37 | 37 |
| 38 // Number of hierarchy conflicts counted during most recent sync cycle. | 38 // Number of hierarchy conflicts counted during most recent sync cycle. |
| 39 int hierarchy_conflicts; | 39 int hierarchy_conflicts; |
| 40 | 40 |
| 41 // Number of simple conflicts counted during most recent sync cycle. | 41 // Number of simple conflicts counted during most recent sync cycle. |
| 42 int simple_conflicts; | 42 int simple_conflicts; |
| 43 | 43 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 74 | 74 |
| 75 // Count of sync cycles that successfully committed items; | 75 // Count of sync cycles that successfully committed items; |
| 76 int sync_cycles_with_commits; | 76 int sync_cycles_with_commits; |
| 77 int sync_cycles_without_commits; | 77 int sync_cycles_without_commits; |
| 78 | 78 |
| 79 // Count of useless and useful syncs we perform. | 79 // Count of useless and useful syncs we perform. |
| 80 int useless_sync_cycles; | 80 int useless_sync_cycles; |
| 81 int useful_sync_cycles; | 81 int useful_sync_cycles; |
| 82 | 82 |
| 83 // Encryption related. | 83 // Encryption related. |
| 84 syncer::ModelTypeSet encrypted_types; | 84 ModelTypeSet encrypted_types; |
| 85 bool cryptographer_ready; | 85 bool cryptographer_ready; |
| 86 bool crypto_has_pending_keys; | 86 bool crypto_has_pending_keys; |
| 87 | 87 |
| 88 // Per-datatype throttled status. | 88 // Per-datatype throttled status. |
| 89 syncer::ModelTypeSet throttled_types; | 89 ModelTypeSet throttled_types; |
| 90 | 90 |
| 91 // The unique identifer for this client. | 91 // The unique identifer for this client. |
| 92 std::string unique_id; | 92 std::string unique_id; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace syncer | 95 } // namespace syncer |
| 96 | 96 |
| 97 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ | 97 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ |
| OLD | NEW |