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

Unified Diff: sync/syncable/entry.h

Issue 15322003: sync: Count nodes more efficiently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove cbegin/cend references to fix compile Created 7 years, 7 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: sync/syncable/entry.h
diff --git a/sync/syncable/entry.h b/sync/syncable/entry.h
index f9d3f90cc97bef33414c8d690f89b0bec246ad53..afbb5a71b926ef345ba0a44aecc0309c26fcffe2 100644
--- a/sync/syncable/entry.h
+++ b/sync/syncable/entry.h
@@ -108,6 +108,7 @@ class SYNC_EXPORT Entry {
Id GetPredecessorId() const;
Id GetSuccessorId() const;
Id GetFirstChildId() const;
+ int GetTotalNodeCount() const;
inline bool ExistsOnClientBecauseNameIsNonEmpty() const {
DCHECK(kernel_);

Powered by Google App Engine
This is Rietveld 408576698