OLD | NEW |
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_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdint.h> | 9 #include <stdint.h> |
9 | 10 |
10 #include <string> | 11 #include <string> |
11 | 12 |
12 #include "sync/base/sync_export.h" | 13 #include "sync/base/sync_export.h" |
13 | 14 |
14 namespace sync_pb { | 15 namespace sync_pb { |
15 class UniquePosition; | 16 class UniquePosition; |
16 } | 17 } |
17 | 18 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 138 |
138 // The position value after it has been run through the custom compression | 139 // The position value after it has been run through the custom compression |
139 // algorithm. See Compress() and Uncompress() functions above. | 140 // algorithm. See Compress() and Uncompress() functions above. |
140 std::string compressed_; | 141 std::string compressed_; |
141 bool is_valid_; | 142 bool is_valid_; |
142 }; | 143 }; |
143 | 144 |
144 } // namespace syncer | 145 } // namespace syncer |
145 | 146 |
146 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ | 147 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ |
OLD | NEW |