| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 int empty_get_updates; | 74 int empty_get_updates; |
| 75 | 75 |
| 76 // Count of sync cycles that successfully committed items; | 76 // Count of sync cycles that successfully committed items; |
| 77 int sync_cycles_with_commits; | 77 int sync_cycles_with_commits; |
| 78 int sync_cycles_without_commits; | 78 int sync_cycles_without_commits; |
| 79 | 79 |
| 80 // Count of useless and useful syncs we perform. | 80 // Count of useless and useful syncs we perform. |
| 81 int useless_sync_cycles; | 81 int useless_sync_cycles; |
| 82 int useful_sync_cycles; | 82 int useful_sync_cycles; |
| 83 | 83 |
| 84 // Nudge counts for each possible source |
| 85 int nudge_source_unknown; |
| 86 int nudge_source_notification; |
| 87 int nudge_source_local; |
| 88 int nudge_source_continuation; |
| 89 int nudge_source_local_refresh; |
| 90 |
| 84 // Encryption related. | 91 // Encryption related. |
| 85 ModelTypeSet encrypted_types; | 92 ModelTypeSet encrypted_types; |
| 86 bool cryptographer_ready; | 93 bool cryptographer_ready; |
| 87 bool crypto_has_pending_keys; | 94 bool crypto_has_pending_keys; |
| 88 bool has_keystore_key; | 95 bool has_keystore_key; |
| 89 base::Time keystore_migration_time; | 96 base::Time keystore_migration_time; |
| 90 PassphraseType passphrase_type; | 97 PassphraseType passphrase_type; |
| 91 | 98 |
| 92 // Per-datatype throttled status. | 99 // Per-datatype throttled status. |
| 93 ModelTypeSet throttled_types; | 100 ModelTypeSet throttled_types; |
| 94 | 101 |
| 95 // The unique identifer for this client. | 102 // The unique identifer for this client. |
| 96 std::string unique_id; | 103 std::string unique_id; |
| 97 }; | 104 }; |
| 98 | 105 |
| 99 } // namespace syncer | 106 } // namespace syncer |
| 100 | 107 |
| 101 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ | 108 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ |
| OLD | NEW |