OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_DATA_TYPE_ASSOCIATION_STATS_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_DATA_TYPE_ASSOCIATION_STATS_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_ | 6 #define COMPONENTS_SYNC_CORE_DATA_TYPE_ASSOCIATION_STATS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "sync/base/sync_export.h" | 11 #include "components/sync/base/sync_export.h" |
12 | 12 |
13 namespace syncer { | 13 namespace syncer { |
14 | 14 |
15 // Container for datatype association results. | 15 // Container for datatype association results. |
16 struct SYNC_EXPORT DataTypeAssociationStats { | 16 struct SYNC_EXPORT DataTypeAssociationStats { |
17 DataTypeAssociationStats(); | 17 DataTypeAssociationStats(); |
18 DataTypeAssociationStats(const DataTypeAssociationStats& other); | 18 DataTypeAssociationStats(const DataTypeAssociationStats& other); |
19 ~DataTypeAssociationStats(); | 19 ~DataTypeAssociationStats(); |
20 | 20 |
21 // The state of the world before association. | 21 // The state of the world before association. |
(...skipping 23 matching lines...) Expand all Loading... |
45 // Waiting time within association manager for loading local models and | 45 // Waiting time within association manager for loading local models and |
46 // associating other types. | 46 // associating other types. |
47 base::TimeDelta association_wait_time; | 47 base::TimeDelta association_wait_time; |
48 | 48 |
49 // Time spent on association. | 49 // Time spent on association. |
50 base::TimeDelta association_time; | 50 base::TimeDelta association_time; |
51 }; | 51 }; |
52 | 52 |
53 } // namespace syncer | 53 } // namespace syncer |
54 | 54 |
55 #endif // SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_ | 55 #endif // COMPONENTS_SYNC_CORE_DATA_TYPE_ASSOCIATION_STATS_H_ |
OLD | NEW |