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

Unified Diff: components/sync/syncable/parent_child_index.h

Issue 2452713003: [Sync] Implement MemoryDumpProvider. (Closed)
Patch Set: Fix presumit; fix Windows; git cl format Created 4 years, 1 month 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
« no previous file with comments | « components/sync/syncable/entry_kernel.cc ('k') | components/sync/syncable/parent_child_index.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/parent_child_index.h
diff --git a/components/sync/syncable/parent_child_index.h b/components/sync/syncable/parent_child_index.h
index c354c3b6a9282ab39d70570998690a8198d11089..b5af56b265b70c1e1907904bd92e23175ff40110 100644
--- a/components/sync/syncable/parent_child_index.h
+++ b/components/sync/syncable/parent_child_index.h
@@ -60,6 +60,9 @@ class ParentChildIndex {
// Returns all siblings of the entry.
const OrderedChildSet* GetSiblings(EntryKernel* e) const;
+ // Estimates amount of heap memory used.
+ size_t EstimateMemoryUsage() const;
+
private:
friend class ParentChildIndexTest;
« no previous file with comments | « components/sync/syncable/entry_kernel.cc ('k') | components/sync/syncable/parent_child_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698