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 COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ |
6 #define COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ | 6 #define COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "components/sync/base/model_type.h" | 12 #include "components/sync/base/model_type.h" |
| 13 #include "components/sync/base/passphrase_type.h" |
13 #include "components/sync/core/sync_encryption_handler.h" | 14 #include "components/sync/core/sync_encryption_handler.h" |
14 #include "components/sync/protocol/sync_protocol_error.h" | 15 #include "components/sync/protocol/sync_protocol_error.h" |
15 | 16 |
16 namespace syncer { | 17 namespace syncer { |
17 | 18 |
18 // Status encapsulates detailed state about the internals of the SyncManager. | 19 // Status encapsulates detailed state about the internals of the SyncManager. |
19 // | 20 // |
20 // This struct is closely tied to the AllStatus object which uses instances of | 21 // This struct is closely tied to the AllStatus object which uses instances of |
21 // it to track and report on the sync engine's internal state, and the functions | 22 // it to track and report on the sync engine's internal state, and the functions |
22 // in sync_ui_util.cc which convert the contents of this struct into a | 23 // in sync_ui_util.cc which convert the contents of this struct into a |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 std::vector<int> num_entries_by_type; | 91 std::vector<int> num_entries_by_type; |
91 std::vector<int> num_to_delete_entries_by_type; | 92 std::vector<int> num_to_delete_entries_by_type; |
92 | 93 |
93 // Time of next retry if sync scheduler is throttled or in backoff. | 94 // Time of next retry if sync scheduler is throttled or in backoff. |
94 base::Time retry_time; | 95 base::Time retry_time; |
95 }; | 96 }; |
96 | 97 |
97 } // namespace syncer | 98 } // namespace syncer |
98 | 99 |
99 #endif // COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ | 100 #endif // COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ |
OLD | NEW |