| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_API_ATTACHMENTS_ATTACHMENT_ID_H_ | 5 #ifndef SYNC_API_ATTACHMENTS_ATTACHMENT_ID_H_ |
| 6 #define SYNC_API_ATTACHMENTS_ATTACHMENT_ID_H_ | 6 #define SYNC_API_ATTACHMENTS_ATTACHMENT_ID_H_ |
| 7 | 7 |
| 8 #include <set> |
| 8 #include <string> | 9 #include <string> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "sync/base/sync_export.h" | 12 #include "sync/base/sync_export.h" |
| 12 #include "sync/internal_api/public/util/immutable.h" | 13 #include "sync/internal_api/public/util/immutable.h" |
| 13 | 14 |
| 14 namespace sync_pb { | 15 namespace sync_pb { |
| 15 class AttachmentIdProto; | 16 class AttachmentIdProto; |
| 16 } // namespace sync_pb | 17 } // namespace sync_pb |
| 17 | 18 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 typedef Immutable<sync_pb::AttachmentIdProto, | 59 typedef Immutable<sync_pb::AttachmentIdProto, |
| 59 ImmutableAttachmentIdProtoTraits> | 60 ImmutableAttachmentIdProtoTraits> |
| 60 ImmutableAttachmentIdProto; | 61 ImmutableAttachmentIdProto; |
| 61 | 62 |
| 62 ImmutableAttachmentIdProto proto_; | 63 ImmutableAttachmentIdProto proto_; |
| 63 | 64 |
| 64 AttachmentId(sync_pb::AttachmentIdProto* proto); | 65 AttachmentId(sync_pb::AttachmentIdProto* proto); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 typedef std::vector<AttachmentId> AttachmentIdList; | 68 typedef std::vector<AttachmentId> AttachmentIdList; |
| 69 typedef std::set<AttachmentId> AttachmentIdSet; |
| 68 | 70 |
| 69 } // namespace syncer | 71 } // namespace syncer |
| 70 | 72 |
| 71 #endif // SYNC_API_ATTACHMENTS_ATTACHMENT_ID_H_ | 73 #endif // SYNC_API_ATTACHMENTS_ATTACHMENT_ID_H_ |
| OLD | NEW |