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

Unified Diff: components/sync/base/unique_position.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/base/proto_value_ptr.h ('k') | components/sync/base/unique_position.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/unique_position.h
diff --git a/components/sync/base/unique_position.h b/components/sync/base/unique_position.h
index f205ce6311c4233fc681564350fd83ae572d219e..3104758030264970d51e5eb18699f920543d7ee1 100644
--- a/components/sync/base/unique_position.h
+++ b/components/sync/base/unique_position.h
@@ -101,6 +101,9 @@ class UniquePosition {
bool IsValid() const;
+ // Returns memory usage estimate.
+ size_t EstimateMemoryUsage() const;
+
private:
friend class UniquePositionTest;
« no previous file with comments | « components/sync/base/proto_value_ptr.h ('k') | components/sync/base/unique_position.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698