Index: sync/internal_api/public/base/unique_position.h |
diff --git a/sync/internal_api/public/base/unique_position.h b/sync/internal_api/public/base/unique_position.h |
index 70e9b39e09d25ba8e480aff8a769b52cb5c2e56e..3a9967455bdd9b07d5cd2a886889639c1a3b16c7 100644 |
--- a/sync/internal_api/public/base/unique_position.h |
+++ b/sync/internal_api/public/base/unique_position.h |
@@ -95,6 +95,8 @@ class SYNC_EXPORT UniquePosition { |
// Returns the suffix. |
std::string GetSuffixForTest() const; |
+ size_t compressed_byte_size() const { return compressed_.capacity() + 1; } |
+ |
// Performs a lossy conversion to an int64_t position. Positions converted to |
// and from int64_ts using this and the FromInt64 function should maintain |
// their |