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

Unified Diff: components/sync/model/model_type_debug_info.h

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 side-by-side diff with in-line comments
Download patch
Index: components/sync/model/model_type_debug_info.h
diff --git a/components/sync/model/model_type_debug_info.h b/components/sync/model/model_type_debug_info.h
index 74cc940b06c2472eb51c27e9b67882aab8b4a1cf..e8b94a3b9b252acc27fd85c8c0cf756c2f10dbd8 100644
--- a/components/sync/model/model_type_debug_info.h
+++ b/components/sync/model/model_type_debug_info.h
@@ -35,6 +35,10 @@ class ModelTypeDebugInfo {
callback,
ModelTypeSyncBridge* bridge);
+ // Queries |bridge| for estimate of memory usage and records it in a
+ // histogram.
+ static void RecordMemoryUsageHistogram(ModelTypeSyncBridge* bridge);
+
private:
ModelTypeDebugInfo();
« no previous file with comments | « components/sync/driver/proxy_data_type_controller.cc ('k') | components/sync/model/model_type_debug_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698