Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Side by Side Diff: sync/api/attachments/attachment_id.h

Issue 307783002: Instantiate AttachmentDownloader and use it in AttachmentServiceImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698