Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: components/sync/protocol/proto_memory_estimations.cc

Issue 2949923004: Reland: [Sync] Record sync memory usage in histogram broken by datatypes (Closed)
Patch Set: Fix linker error Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/sync/model/model_type_debug_info.cc ('k') | components/sync/syncable/directory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/sync/model/model_type_debug_info.cc ('k') | components/sync/syncable/directory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698