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

Unified Diff: components/sync/protocol/proto_memory_estimations.cc

Issue 2781863004: [Sync] Implement EstimateMemoryUsage for SharedModelTypeProcessor and ModelTypeWorker (Closed)
Patch Set: Address comments Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/protocol/proto_memory_estimations.cc
diff --git a/components/sync/protocol/proto_memory_estimations.cc b/components/sync/protocol/proto_memory_estimations.cc
index af9b10294fe5957b374c49a45a2b7a573a71eed0..b7402c49ccdf4b797b03999ffbf5892cc6f4a676 100644
--- a/components/sync/protocol/proto_memory_estimations.cc
+++ b/components/sync/protocol/proto_memory_estimations.cc
@@ -121,8 +121,11 @@ size_t EstimateMemoryUsage(const P& proto) {
#define INSTANTIATE(Proto) \
template size_t EstimateMemoryUsage<Proto>(const Proto&);
-INSTANTIATE(EntitySpecifics)
INSTANTIATE(AttachmentMetadata)
INSTANTIATE(DataTypeContext)
+INSTANTIATE(EntityMetadata)
+INSTANTIATE(EntitySpecifics)
+INSTANTIATE(ModelTypeState)
+INSTANTIATE(UniquePosition)
} // namespace sync_pb
« no previous file with comments | « components/sync/model_impl/shared_model_type_processor.cc ('k') | components/sync/protocol/proto_visitors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698