Home
last modified time | relevance | path

Searched refs:AttachmentId (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/sync/api/attachments/
Dattachment_id.cc13 void AttachmentId::ImmutableAttachmentIdProtoTraits::InitializeWrapper( in InitializeWrapper()
18 void AttachmentId::ImmutableAttachmentIdProtoTraits::DestroyWrapper( in DestroyWrapper()
24 AttachmentId::ImmutableAttachmentIdProtoTraits::Unwrap(const Wrapper& wrapper) { in Unwrap()
29 AttachmentId::ImmutableAttachmentIdProtoTraits::UnwrapMutable( in UnwrapMutable()
34 void AttachmentId::ImmutableAttachmentIdProtoTraits::Swap( in Swap()
40 AttachmentId::~AttachmentId() {} in ~AttachmentId()
42 bool AttachmentId::operator==(const AttachmentId& other) const { in operator ==()
46 bool AttachmentId::operator!=(const AttachmentId& other) const { in operator !=()
50 bool AttachmentId::operator<(const AttachmentId& other) const { in operator <()
55 AttachmentId AttachmentId::Create() { in Create()
[all …]
Dattachment_id_unittest.cc20 AttachmentId id1 = AttachmentId::Create(); in TEST_F()
21 AttachmentId id2 = AttachmentId::Create(); in TEST_F()
26 AttachmentId id1 = AttachmentId::Create(); in TEST_F()
27 AttachmentId id2(id1); in TEST_F()
32 AttachmentId id1 = AttachmentId::Create(); in TEST_F()
35 AttachmentId id2 = AttachmentId::Create(); in TEST_F()
Dattachment_id.h25 class SYNC_EXPORT AttachmentId {
27 ~AttachmentId();
31 bool operator==(const AttachmentId& other) const;
33 bool operator!=(const AttachmentId& other) const;
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> AttachmentIdList;
69 typedef std::set<AttachmentId> AttachmentIdSet;
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;
Dattachment.cc16 return CreateWithId(AttachmentId::Create(), data); in Create()
21 const AttachmentId& id, in CreateWithId()
26 const AttachmentId& Attachment::GetId() const { return id_; } in GetId()
32 Attachment::Attachment(const AttachmentId& id, in Attachment()
Dattachment_unittest.cc40 AttachmentId id = AttachmentId::Create(); in TEST_F()
Dfake_attachment_store.h22 class AttachmentId; variable
/external/chromium_org/sync/internal_api/attachments/
Dattachment_downloader_impl_unittest.cc138 typedef std::map<AttachmentId, AttachmentDownloader::DownloadResult>
153 const AttachmentId& id) { in download_callback()
161 void DownloadDone(const AttachmentId& attachment_id,
165 void VerifyDownloadResult(const AttachmentId& attachment_id,
223 const AttachmentId& attachment_id, in DownloadDone()
243 const AttachmentId& attachment_id, in VerifyDownloadResult()
256 AttachmentId id1 = AttachmentId::Create(); in TEST_F()
271 AttachmentId id1 = AttachmentId::Create(); in TEST_F()
305 AttachmentId id1 = AttachmentId::Create(); in TEST_F()
306 AttachmentId id2 = AttachmentId::Create(); in TEST_F()
[all …]
Dattachment_service_impl_unittest.cc100 virtual void DownloadAttachment(const AttachmentId& id, in DownloadAttachment()
108 void RespondToDownload(const AttachmentId& id, const DownloadResult& result) { in RespondToDownload()
122 std::map<AttachmentId, DownloadCallback> download_requests;
136 const AttachmentId id = attachment.GetId(); in UploadAttachment()
141 void RespondToUpload(const AttachmentId& id, const UploadResult& result) { in RespondToUpload()
148 std::map<AttachmentId, UploadCallback> upload_requests;
174 const AttachmentId& attachment_id) OVERRIDE { in OnAttachmentUploaded()
257 const std::vector<AttachmentId>& on_attachment_uploaded_list() const { in on_attachment_uploaded_list()
272 std::vector<AttachmentId> on_attachment_uploaded_list_;
292 attachment_ids.push_back(AttachmentId::Create()); in TEST_F()
[all …]
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) { in UploadDone()
382 AttachmentId id = AttachmentId::Create(); in TEST_F()
391 AttachmentId id = AttachmentId::Create(); in TEST_F()
400 AttachmentId id = AttachmentId::Create(); in TEST_F()
409 AttachmentId id = AttachmentId::Create(); in TEST_F()
Dattachment_service_impl.cc40 void AddUnavailableAttachmentId(const AttachmentId& attachment_id);
90 const AttachmentId& attachment_id) { in AddUnavailableAttachmentId()
132 upload_task_queue_.reset(new TaskQueue<AttachmentId>( in AttachmentServiceImpl()
236 const AttachmentId& attachment_id) { in UploadDone()
258 const AttachmentId& attachment_id, in DownloadDone()
272 void AttachmentServiceImpl::BeginUpload(const AttachmentId& attachment_id) { in BeginUpload()
Dfake_attachment_downloader_unittest.cc53 AttachmentId attachment_id = AttachmentId::Create(); in TEST_F()
Dattachment_uploader_impl.cc84 const AttachmentId& attachment_id);
160 AttachmentId attachment_id = attachment_.GetId(); in OnURLFetchComplete()
237 const AttachmentId& attachment_id) { in StopAndReportResult()
280 const AttachmentId attachment_id = attachment.GetId(); in UploadAttachment()
314 const AttachmentId& attachment_id) { in GetURLForAttachmentId()
Dattachment_downloader_impl.cc20 DownloadState(const AttachmentId& attachment_id,
23 AttachmentId attachment_id;
33 const AttachmentId& attachment_id, in DownloadState()
62 const AttachmentId& attachment_id, in DownloadAttachment()
Dfake_attachment_uploader.cc28 AttachmentId id = attachment.GetId(); in UploadAttachment()
Dfake_attachment_downloader.cc20 const AttachmentId& attachment_id, in DownloadAttachment()
/external/chromium_org/sync/internal_api/public/attachments/
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_;
Dfake_attachment_downloader.h22 virtual void DownloadAttachment(const AttachmentId& attachment_id,
Dattachment_uploader.h27 typedef base::Callback<void(const UploadResult&, const AttachmentId&)>
Dattachment_downloader.h41 virtual void DownloadAttachment(const AttachmentId& attachment_id,
Dattachment_service.h58 virtual void OnAttachmentUploaded(const AttachmentId& attachment_id) = 0;
/external/chromium_org/components/sync_driver/
Dgeneric_change_processor_unittest.cc375 attachment_ids.push_back(syncer::AttachmentId::Create()); in TEST_F()
376 attachment_ids.push_back(syncer::AttachmentId::Create()); in TEST_F()
399 new_attachment_ids.push_back(syncer::AttachmentId::Create()); in TEST_F()
429 attachment_ids.push_back(syncer::AttachmentId::Create()); in TEST_F()
442 syncer::AttachmentId attachment_id = in TEST_F()
443 syncer::AttachmentId::CreateFromProto(attachment_id_proto); in TEST_F()
457 syncer::AttachmentId id1 = syncer::AttachmentId::Create(); in TEST_F()
458 syncer::AttachmentId id2 = syncer::AttachmentId::Create(); in TEST_F()
/external/chromium_org/sync/api/
Dsync_data_unittest.cc75 attachment_ids.push_back(AttachmentId::Create()); in TEST_F()
76 attachment_ids.push_back(AttachmentId::Create()); in TEST_F()
77 attachment_ids.push_back(AttachmentId::Create()); in TEST_F()
Dsync_data.cc22 const syncer::AttachmentId& attachment_id) { in IdToProto()
26 syncer::AttachmentId ProtoToId(const sync_pb::AttachmentIdProto& proto) { in ProtoToId()
27 return syncer::AttachmentId::CreateFromProto(proto); in ProtoToId()
/external/chromium_org/sync/internal_api/
DDEPS8 # For accessing attachment primitives like Attachment and AttachmentId. This

12