| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_CORE_IMPL_SYNCAPI_INTERNAL_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_ENGINE_UTIL_H_ |
| 6 #define COMPONENTS_SYNC_CORE_IMPL_SYNCAPI_INTERNAL_H_ | 6 #define COMPONENTS_SYNC_ENGINE_ENGINE_UTIL_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 sync_pb { | 13 namespace sync_pb { |
| 14 class AttachmentMetadata; | 14 class AttachmentMetadata; |
| 15 class EntitySpecifics; | 15 class EntitySpecifics; |
| 16 class PasswordSpecificsData; | 16 class PasswordSpecificsData; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 32 bool AreSpecificsEqual(const Cryptographer* cryptographer, | 32 bool AreSpecificsEqual(const 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 // Return true iff |left| and |right| are equal. | 36 // Return true iff |left| and |right| are equal. |
| 37 bool AreAttachmentMetadataEqual(const sync_pb::AttachmentMetadata& left, | 37 bool AreAttachmentMetadataEqual(const sync_pb::AttachmentMetadata& left, |
| 38 const sync_pb::AttachmentMetadata& right); | 38 const sync_pb::AttachmentMetadata& right); |
| 39 | 39 |
| 40 } // namespace syncer | 40 } // namespace syncer |
| 41 | 41 |
| 42 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNCAPI_INTERNAL_H_ | 42 #endif // COMPONENTS_SYNC_ENGINE_ENGINE_UTIL_H_ |
| OLD | NEW |