Lines Matching defs:attachment_id
40 void AddUnavailableAttachmentId(const AttachmentId& attachment_id);
90 const AttachmentId& attachment_id) {
92 DCHECK(unavailable_attachments_.find(attachment_id) ==
94 unavailable_attachments_.insert(attachment_id);
95 DCHECK(in_progress_attachments_.find(attachment_id) !=
97 in_progress_attachments_.erase(attachment_id);
236 const AttachmentId& attachment_id) {
240 upload_task_queue_->MarkAsSucceeded(attachment_id);
242 delegate_->OnAttachmentUploaded(attachment_id);
246 upload_task_queue_->MarkAsFailed(attachment_id);
247 upload_task_queue_->AddToQueue(attachment_id);
251 upload_task_queue_->MarkAsFailed(attachment_id);
258 const AttachmentId& attachment_id,
267 state->AddUnavailableAttachmentId(attachment_id);
272 void AttachmentServiceImpl::BeginUpload(const AttachmentId& attachment_id) {
275 attachment_ids.push_back(attachment_id);