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

Side by Side Diff: components/sync/base/unique_position.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « components/sync/base/time.cc ('k') | components/sync/base/unique_position.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ 5 #ifndef COMPONENTS_SYNC_BASE_UNIQUE_POSITION_H_
6 #define SYNC_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ 6 #define COMPONENTS_SYNC_BASE_UNIQUE_POSITION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "sync/base/sync_export.h" 13 #include "components/sync/base/sync_export.h"
14 14
15 namespace sync_pb { 15 namespace sync_pb {
16 class UniquePosition; 16 class UniquePosition;
17 } 17 }
18 18
19 namespace syncer { 19 namespace syncer {
20 20
21 // A class to represent positions. 21 // A class to represent positions.
22 // 22 //
23 // Valid UniquePosition objects have the following properties: 23 // Valid UniquePosition objects have the following properties:
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 static bool IsValidCompressed(const std::string& str); 137 static bool IsValidCompressed(const std::string& str);
138 138
139 // 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
140 // algorithm. See Compress() and Uncompress() functions above. 140 // algorithm. See Compress() and Uncompress() functions above.
141 std::string compressed_; 141 std::string compressed_;
142 bool is_valid_; 142 bool is_valid_;
143 }; 143 };
144 144
145 } // namespace syncer 145 } // namespace syncer
146 146
147 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_UNIQUE_POSITION_H_ 147 #endif // COMPONENTS_SYNC_BASE_UNIQUE_POSITION_H_
OLDNEW
« no previous file with comments | « components/sync/base/time.cc ('k') | components/sync/base/unique_position.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698