Searched refs:AttachmentId (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/sync/api/attachments/
H A Dattachment_id.cc13 void AttachmentId::ImmutableAttachmentIdProtoTraits::InitializeWrapper(
18 void AttachmentId::ImmutableAttachmentIdProtoTraits::DestroyWrapper(
24 AttachmentId::ImmutableAttachmentIdProtoTraits::Unwrap(const Wrapper& wrapper) {
29 AttachmentId::ImmutableAttachmentIdProtoTraits::UnwrapMutable(
34 void AttachmentId::ImmutableAttachmentIdProtoTraits::Swap(
40 AttachmentId::~AttachmentId() {}
42 bool AttachmentId::operator==(const AttachmentId& other) const {
46 bool AttachmentId
71 AttachmentId::AttachmentId(sync_pb::AttachmentIdProto* proto) function in class:syncer::AttachmentId
[all...]
H A Dattachment_id_unittest.cc20 AttachmentId id1 = AttachmentId::Create();
21 AttachmentId id2 = AttachmentId::Create();
26 AttachmentId id1 = AttachmentId::Create();
27 AttachmentId id2(id1);
32 AttachmentId id1 = AttachmentId::Create();
35 AttachmentId id
[all...]
H A Dattachment.h42 const AttachmentId& id,
46 const AttachmentId& GetId() const;
52 AttachmentId id_;
55 Attachment(const AttachmentId& id,
60 typedef std::map<AttachmentId, Attachment> AttachmentMap;
H A Dattachment_id.h25 class SYNC_EXPORT AttachmentId { class in namespace:syncer
27 ~AttachmentId();
31 bool operator==(const AttachmentId& other) const;
33 bool operator!=(const AttachmentId& other) const;
35 // Needed for using AttachmentId as key in std::map.
36 bool operator<(const AttachmentId& other) const;
39 static AttachmentId Create();
42 static AttachmentId CreateFromProto(const sync_pb::AttachmentIdProto& proto);
65 AttachmentId(sync_pb::AttachmentIdProto* proto);
68 typedef std::vector<AttachmentId> AttachmentIdLis
[all...]
H A Dattachment.cc16 return CreateWithId(AttachmentId::Create(), data);
21 const AttachmentId& id,
26 const AttachmentId& Attachment::GetId() const { return id_; }
32 Attachment::Attachment(const AttachmentId& id,
H A Dattachment_unittest.cc40 AttachmentId id = AttachmentId::Create();
H A Dattachment_store.h22 class AttachmentId;
H A Dfake_attachment_store.h22 class AttachmentId;
/external/chromium_org/sync/internal_api/public/attachments/
H A Dattachment_uploader.h27 typedef base::Callback<void(const UploadResult&, const AttachmentId&)>
38 // |callback| will receive an UploadResult code and the AttachmentId of the
H A Dfake_attachment_downloader.h22 virtual void DownloadAttachment(const AttachmentId& attachment_id,
H A Dattachment_service_impl.h90 const AttachmentId& attachment_id);
92 const AttachmentId& attachment_id,
95 void BeginUpload(const AttachmentId& attachment_id);
112 scoped_ptr<TaskQueue<AttachmentId> > upload_task_queue_;
H A Dattachment_downloader.h41 virtual void DownloadAttachment(const AttachmentId& attachment_id,
H A Dattachment_service.h58 virtual void OnAttachmentUploaded(const AttachmentId& attachment_id) = 0;
H A Dattachment_uploader_impl.h51 const AttachmentId& attachment_id);
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_downloader_impl_unittest.cc138 typedef std::map<AttachmentId, AttachmentDownloader::DownloadResult>
153 const AttachmentId& id) {
161 void DownloadDone(const AttachmentId& attachment_id,
165 void VerifyDownloadResult(const AttachmentId& attachment_id,
223 const AttachmentId& attachment_id,
243 const AttachmentId& attachment_id,
256 AttachmentId id1 = AttachmentId::Create();
271 AttachmentId id1 = AttachmentId
[all...]
H A Dfake_attachment_downloader_unittest.cc53 AttachmentId attachment_id = AttachmentId::Create();
H A Dfake_attachment_uploader.cc28 AttachmentId id = attachment.GetId();
H A Dfake_attachment_downloader.cc20 const AttachmentId& attachment_id,
H A Dattachment_service_impl_unittest.cc100 virtual void DownloadAttachment(const AttachmentId& id,
108 void RespondToDownload(const AttachmentId& id, const DownloadResult& result) {
122 std::map<AttachmentId, DownloadCallback> download_requests;
136 const AttachmentId id = attachment.GetId();
141 void RespondToUpload(const AttachmentId& id, const UploadResult& result) {
148 std::map<AttachmentId, UploadCallback> upload_requests;
174 const AttachmentId& attachment_id) OVERRIDE {
257 const std::vector<AttachmentId>& on_attachment_uploaded_list() const {
272 std::vector<AttachmentId> on_attachment_uploaded_list_;
292 attachment_ids.push_back(AttachmentId
[all...]
H A Dfake_attachment_uploader_unittest.cc38 const AttachmentId& ignored) {
H A Dattachment_uploader_impl_unittest.cc191 std::vector<AttachmentId>& attachment_ids();
199 const AttachmentId& attachment_id);
211 std::vector<AttachmentId> attachment_ids_;
318 std::vector<AttachmentId>&
337 const AttachmentId& attachment_id) {
382 AttachmentId id = AttachmentId::Create();
391 AttachmentId id = AttachmentId::Create();
400 AttachmentId i
[all...]
H A Dattachment_service_impl.cc40 void AddUnavailableAttachmentId(const AttachmentId& attachment_id);
90 const AttachmentId& attachment_id) {
132 upload_task_queue_.reset(new TaskQueue<AttachmentId>(
236 const AttachmentId& attachment_id) {
258 const AttachmentId& attachment_id,
272 void AttachmentServiceImpl::BeginUpload(const AttachmentId& attachment_id) {
H A Dattachment_downloader_impl.cc20 DownloadState(const AttachmentId& attachment_id,
23 AttachmentId attachment_id;
33 const AttachmentId& attachment_id,
62 const AttachmentId& attachment_id,
/external/chromium_org/sync/internal_api/public/
H A Dwrite_transaction.h57 void UpdateEntriesMarkAttachmentAsOnServer(const AttachmentId& attachment_id);
/external/chromium_org/sync/api/
H A Dsync_data_unittest.cc75 attachment_ids.push_back(AttachmentId::Create());
76 attachment_ids.push_back(AttachmentId::Create());
77 attachment_ids.push_back(AttachmentId::Create());

Completed in 165 milliseconds

12