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

Unified Diff: sync/syncable/entry.cc

Issue 10989063: Changed DB to store node positions as Ordinals. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Ordinal default ctor now creates invalid Ordinals Created 8 years, 2 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.cc
diff --git a/sync/syncable/entry.cc b/sync/syncable/entry.cc
index ba64299c7340271cae8ac2e3280b5c40a2ed7256..ef8069a4794a37370d3c720085cb088f9634fb84 100644
--- a/sync/syncable/entry.cc
+++ b/sync/syncable/entry.cc
@@ -132,6 +132,11 @@ std::ostream& operator<<(std::ostream& os, const Entry& entry) {
kernel->ref(static_cast<ProtoField>(i)).SerializeAsString())
akalin 2012/10/05 22:40:27 did you miss my comments here re. having printable
vishwath 2012/10/08 20:17:49 Yeah, I'm not sure how I missed these two. Done. O
<< ", ";
}
+ for ( ; i < ORDINAL_FIELDS_END; ++i) {
+ os << g_metas_columns[i].name << ": "
+ << kernel->ref(static_cast<OrdinalField>(i)).ToInternalValue()
akalin 2012/10/05 22:40:27 and here?
vishwath 2012/10/08 20:17:49 Done.
+ << ", ";
+ }
os << "TempFlags: ";
for ( ; i < BIT_TEMPS_END; ++i) {
if (kernel->ref(static_cast<BitTemp>(i)))

Powered by Google App Engine
This is Rietveld 408576698