diff options
author | vishwath@google.com <vishwath@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 02:40:35 +0000 |
---|---|---|
committer | vishwath@google.com <vishwath@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 02:40:35 +0000 |
commit | 49c24fe8219c35d947e061c2d6aa102f8b04928a (patch) | |
tree | c9e1c6e436f4de1009e0428c5af3f3f5cb7f6c3d /sync/syncable/mutable_entry.h | |
parent | 01fda60d8a2ddcf7e317675364872fbe697fdb54 (diff) | |
download | chromium_src-49c24fe8219c35d947e061c2d6aa102f8b04928a.zip chromium_src-49c24fe8219c35d947e061c2d6aa102f8b04928a.tar.gz chromium_src-49c24fe8219c35d947e061c2d6aa102f8b04928a.tar.bz2 |
Changed DB to store node positions as Ordinals.
As part of the effort to move away from int64 based node positions,
changed the DB to store server_position_in_node as an ordinal
(represented by a varchar) instead. Also updated unittests and the
latest db version number (now at 81).
BUG=145412
Review URL: https://chromiumcodereview.appspot.com/10989063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/syncable/mutable_entry.h')
-rw-r--r-- | sync/syncable/mutable_entry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/syncable/mutable_entry.h b/sync/syncable/mutable_entry.h index 60968e9..f01fcf6 100644 --- a/sync/syncable/mutable_entry.h +++ b/sync/syncable/mutable_entry.h @@ -5,6 +5,7 @@ #ifndef SYNC_SYNCABLE_MUTABLE_ENTRY_H_ #define SYNC_SYNCABLE_MUTABLE_ENTRY_H_ +#include "sync/internal_api/public/base/node_ordinal.h" #include "sync/syncable/entry.h" #include "sync/syncable/metahandle_set.h" @@ -49,6 +50,7 @@ class MutableEntry : public Entry { bool Put(Int64Field field, const int64& value); bool Put(TimeField field, const base::Time& value); bool Put(IdField field, const Id& value); + bool Put(OrdinalField field, const NodeOrdinal& value); // Do a simple property-only update if the PARENT_ID field. Use with caution. // |