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