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

Side by Side Diff: sync/syncable/syncable_enum_conversions.h

Issue 10989063: Changed DB to store node positions as Ordinals. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Changed server_position to server_ordinal in DB 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ 5 #ifndef SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_
6 #define SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ 6 #define SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_
7 7
8 // Keep this file in sync with entry_kernel.h. 8 // Keep this file in sync with entry_kernel.h.
9 9
10 #include "sync/syncable/entry_kernel.h" 10 #include "sync/syncable/entry_kernel.h"
(...skipping 20 matching lines...) Expand all
31 const char* GetIndexedBitFieldString(IndexedBitField indexed_bit_field); 31 const char* GetIndexedBitFieldString(IndexedBitField indexed_bit_field);
32 32
33 const char* GetIsDelFieldString(IsDelField is_del_field); 33 const char* GetIsDelFieldString(IsDelField is_del_field);
34 34
35 const char* GetBitFieldString(BitField bit_field); 35 const char* GetBitFieldString(BitField bit_field);
36 36
37 const char* GetStringFieldString(StringField string_field); 37 const char* GetStringFieldString(StringField string_field);
38 38
39 const char* GetProtoFieldString(ProtoField proto_field); 39 const char* GetProtoFieldString(ProtoField proto_field);
40 40
41 const char* GetOrdinalFieldString(OrdinalField ordinal_field);
42
41 const char* GetBitTempString(BitTemp bit_temp); 43 const char* GetBitTempString(BitTemp bit_temp);
42 44
43 } // namespace syncable 45 } // namespace syncable
44 } // namespace syncer 46 } // namespace syncer
45 47
46 #endif // SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ 48 #endif // SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698