OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 // Keep this file in sync with the .proto files in this directory. | 5 // Keep this file in sync with the .proto files in this directory. |
6 | 6 |
7 #include "components/sync/protocol/proto_memory_estimations.h" | 7 #include "components/sync/protocol/proto_memory_estimations.h" |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 return visitor.memory_usage(); | 116 return visitor.memory_usage(); |
117 } | 117 } |
118 | 118 |
119 // Explicit instantiations | 119 // Explicit instantiations |
120 | 120 |
121 #define INSTANTIATE(Proto) \ | 121 #define INSTANTIATE(Proto) \ |
122 template size_t EstimateMemoryUsage<Proto>(const Proto&); | 122 template size_t EstimateMemoryUsage<Proto>(const Proto&); |
123 | 123 |
124 INSTANTIATE(AttachmentMetadata) | 124 INSTANTIATE(AttachmentMetadata) |
125 INSTANTIATE(DataTypeContext) | 125 INSTANTIATE(DataTypeContext) |
| 126 INSTANTIATE(DataTypeProgressMarker) |
126 INSTANTIATE(EntityMetadata) | 127 INSTANTIATE(EntityMetadata) |
127 INSTANTIATE(EntitySpecifics) | 128 INSTANTIATE(EntitySpecifics) |
128 INSTANTIATE(ModelTypeState) | 129 INSTANTIATE(ModelTypeState) |
129 INSTANTIATE(UniquePosition) | 130 INSTANTIATE(UniquePosition) |
130 | 131 |
131 } // namespace sync_pb | 132 } // namespace sync_pb |
OLD | NEW |