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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 ModelTypeSet encrypted_types; | 86 ModelTypeSet encrypted_types; |
87 bool cryptographer_ready; | 87 bool cryptographer_ready; |
88 bool crypto_has_pending_keys; | 88 bool crypto_has_pending_keys; |
89 bool has_keystore_key; | 89 bool has_keystore_key; |
90 base::Time keystore_migration_time; | 90 base::Time keystore_migration_time; |
91 PassphraseType passphrase_type; | 91 PassphraseType passphrase_type; |
92 | 92 |
93 // Per-datatype throttled status. | 93 // Per-datatype throttled status. |
94 ModelTypeSet throttled_types; | 94 ModelTypeSet throttled_types; |
95 | 95 |
96 // The unique identifer for this client. | 96 // The unique identifer for the sync store. |
97 std::string unique_id; | 97 std::string sync_id; |
| 98 |
| 99 // The unique identifier for the invalidation client. |
| 100 std::string invalidator_client_id; |
98 | 101 |
99 // Counters grouped by model type | 102 // Counters grouped by model type |
100 std::vector<int> num_entries_by_type; | 103 std::vector<int> num_entries_by_type; |
101 std::vector<int> num_to_delete_entries_by_type; | 104 std::vector<int> num_to_delete_entries_by_type; |
102 | 105 |
103 // Time of next retry if sync scheduler is throttled or in backoff. | 106 // Time of next retry if sync scheduler is throttled or in backoff. |
104 base::Time retry_time; | 107 base::Time retry_time; |
105 }; | 108 }; |
106 | 109 |
107 } // namespace syncer | 110 } // namespace syncer |
108 | 111 |
109 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ | 112 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ |
OLD | NEW |