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_SYNC_STATUS_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_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 "sync/base/sync_export.h" | 12 #include "components/sync/base/model_type.h" |
13 #include "sync/internal_api/public/base/model_type.h" | 13 #include "components/sync/base/sync_export.h" |
14 #include "sync/internal_api/public/sync_encryption_handler.h" | 14 #include "components/sync/core/sync_encryption_handler.h" |
15 #include "sync/protocol/sync_protocol_error.h" | 15 #include "components/sync/protocol/sync_protocol_error.h" |
16 | 16 |
17 namespace syncer { | 17 namespace syncer { |
18 | 18 |
19 // Status encapsulates detailed state about the internals of the SyncManager. | 19 // Status encapsulates detailed state about the internals of the SyncManager. |
20 // | 20 // |
21 // 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 |
22 // 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 |
23 // 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 |
24 // DictionaryValue used to populate the about:sync summary tab. | 24 // DictionaryValue used to populate the about:sync summary tab. |
25 struct SYNC_EXPORT SyncStatus { | 25 struct SYNC_EXPORT SyncStatus { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // Counters grouped by model type | 90 // Counters grouped by model type |
91 std::vector<int> num_entries_by_type; | 91 std::vector<int> num_entries_by_type; |
92 std::vector<int> num_to_delete_entries_by_type; | 92 std::vector<int> num_to_delete_entries_by_type; |
93 | 93 |
94 // 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. |
95 base::Time retry_time; | 95 base::Time retry_time; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace syncer | 98 } // namespace syncer |
99 | 99 |
100 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_SYNC_STATUS_H_ | 100 #endif // COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ |
OLD | NEW |