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

Unified Diff: sync/test/engine/test_id_factory.h

Issue 805633004: Enable Null Syncable ID which is different than Root ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR feedback Created 6 years 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 | « sync/syncable/syncable_id.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/test_id_factory.h
diff --git a/sync/test/engine/test_id_factory.h b/sync/test/engine/test_id_factory.h
index 85781a72f8ee98fe6487759237ebd23553ed2053..33347297632af47b65f0bc59dffe93106f7988f7 100644
--- a/sync/test/engine/test_id_factory.h
+++ b/sync/test/engine/test_id_factory.h
@@ -20,9 +20,7 @@ class TestIdFactory {
~TestIdFactory() {}
// Get the root ID.
- static syncable::Id root() {
- return syncable::Id();
- }
+ static syncable::Id root() { return syncable::Id::GetRoot(); }
// Make an ID from a number. If the number is zero, return the root ID.
// If the number is positive, create a server ID based on the value. If
« no previous file with comments | « sync/syncable/syncable_id.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698