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 CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ | 6 #define SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ |
7 | 7 |
8 // The functions defined are shared among some of the classes that implement | 8 // The functions defined are shared among some of the classes that implement |
9 // the internal sync_api. They are not to be used by clients of the API. | 9 // the internal sync_api. They are not to be used by clients of the API. |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 namespace browser_sync { | 13 namespace browser_sync { |
14 class Cryptographer; | 14 class Cryptographer; |
15 } | 15 } |
16 | 16 |
(...skipping 10 matching lines...) Expand all Loading... |
27 void SyncAPINameToServerName(const std::string& sync_api_name, | 27 void SyncAPINameToServerName(const std::string& sync_api_name, |
28 std::string* out); | 28 std::string* out); |
29 | 29 |
30 bool IsNameServerIllegalAfterTrimming(const std::string& name); | 30 bool IsNameServerIllegalAfterTrimming(const std::string& name); |
31 | 31 |
32 bool AreSpecificsEqual(const browser_sync::Cryptographer* cryptographer, | 32 bool AreSpecificsEqual(const browser_sync::Cryptographer* cryptographer, |
33 const sync_pb::EntitySpecifics& left, | 33 const sync_pb::EntitySpecifics& left, |
34 const sync_pb::EntitySpecifics& right); | 34 const sync_pb::EntitySpecifics& right); |
35 } | 35 } |
36 | 36 |
37 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ | 37 #endif // SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ |
OLD | NEW |