| 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 eee53240ab1562124e14ad28d0b2c29fcab36310..b844b823d458bc6822865823a64d304e45de89cb 100644
|
| --- a/sync/internal_api/public/base/unique_position.h
|
| +++ b/sync/internal_api/public/base/unique_position.h
|
| @@ -46,6 +46,10 @@ class SYNC_EXPORT_PRIVATE UniquePosition {
|
| static bool IsValidSuffix(const std::string& suffix);
|
| static bool IsValidBytes(const std::string& bytes);
|
|
|
| + // Returns a valid, but mostly random suffix.
|
| + // Avoid using this; it can lead to inconsistent sort orderings if misused.
|
| + static std::string RandomSuffix();
|
| +
|
| // Returns an invalid position.
|
| static UniquePosition CreateInvalid();
|
|
|
|
|