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 #include "components/sync/core_impl/syncapi_internal.h" | 5 #include "components/sync/engine/engine_util.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "components/sync/base/cryptographer.h" | 12 #include "components/sync/base/cryptographer.h" |
13 #include "components/sync/protocol/attachments.pb.h" | 13 #include "components/sync/protocol/attachments.pb.h" |
14 #include "components/sync/protocol/password_specifics.pb.h" | 14 #include "components/sync/protocol/password_specifics.pb.h" |
15 #include "components/sync/protocol/sync.pb.h" | 15 #include "components/sync/protocol/sync.pb.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 bool AreAttachmentMetadataEqual(const sync_pb::AttachmentMetadata& left, | 112 bool AreAttachmentMetadataEqual(const sync_pb::AttachmentMetadata& left, |
113 const sync_pb::AttachmentMetadata& right) { | 113 const sync_pb::AttachmentMetadata& right) { |
114 if (left.SerializeAsString() == right.SerializeAsString()) { | 114 if (left.SerializeAsString() == right.SerializeAsString()) { |
115 return true; | 115 return true; |
116 } | 116 } |
117 return false; | 117 return false; |
118 } | 118 } |
119 | 119 |
120 } // namespace syncer | 120 } // namespace syncer |
OLD | NEW |