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

Unified Diff: trunk/src/sync/internal_api/public/base/unique_position.h

Issue 270543005: Revert 270308 "sync: Improve handling of bad UniquePositions" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/sync/internal_api/public/base/unique_position.h
===================================================================
--- trunk/src/sync/internal_api/public/base/unique_position.h (revision 270322)
+++ trunk/src/sync/internal_api/public/base/unique_position.h (working copy)
@@ -46,10 +46,6 @@
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();
« no previous file with comments | « trunk/src/sync/engine/syncer_util_unittest.cc ('k') | trunk/src/sync/internal_api/public/base/unique_position.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698