HomeSort by relevance Sort by last modified time
    Searched refs:BrokerableAttachment (Results 1 - 11 of 11) sorted by null

  /external/libmojo/ipc/
brokerable_attachment.cc 14 // BrokerableAttachment::AttachmentId ------------------------------------------
17 BrokerableAttachment::AttachmentId
18 BrokerableAttachment::AttachmentId::CreateIdWithRandomNonce() {
25 BrokerableAttachment::AttachmentId::AttachmentId() {
26 for (size_t i = 0; i < BrokerableAttachment::kNonceSize; ++i)
30 BrokerableAttachment::AttachmentId::AttachmentId(const char* start_address,
32 DCHECK(size == BrokerableAttachment::kNonceSize);
33 for (size_t i = 0; i < BrokerableAttachment::kNonceSize; ++i)
37 void BrokerableAttachment::AttachmentId::SerializeToBuffer(char* start_address,
39 DCHECK(size == BrokerableAttachment::kNonceSize)
    [all...]
placeholder_brokerable_attachment.cc 9 BrokerableAttachment::BrokerableType
placeholder_brokerable_attachment.h 14 // This subclass of BrokerableAttachment has an AttachmentId, and nothing else.
16 class IPC_EXPORT PlaceholderBrokerableAttachment : public BrokerableAttachment {
19 : BrokerableAttachment(id){};
brokerable_attachment.h 22 class IPC_EXPORT BrokerableAttachment : public MessageAttachment {
77 BrokerableAttachment();
78 BrokerableAttachment(const AttachmentId& id);
79 ~BrokerableAttachment() override;
82 // This member uniquely identifies a BrokerableAttachment across all Chrome
86 DISALLOW_COPY_AND_ASSIGN(BrokerableAttachment);
attachment_broker.h 60 const BrokerableAttachment::AttachmentId& id) = 0;
77 const scoped_refptr<BrokerableAttachment>& attachment,
82 bool GetAttachmentWithId(BrokerableAttachment::AttachmentId id,
83 scoped_refptr<BrokerableAttachment>* attachment);
118 using AttachmentVector = std::vector<scoped_refptr<BrokerableAttachment>>;
122 const scoped_refptr<BrokerableAttachment>& attachment);
124 // Informs the observers that a new BrokerableAttachment has been received.
125 void NotifyObservers(const BrokerableAttachment::AttachmentId& id);
128 // BrokerableAttachment has been received.
130 const BrokerableAttachment::AttachmentId& id)
    [all...]
ipc_message_attachment_set.h 23 class BrokerableAttachment;
93 std::vector<scoped_refptr<IPC::BrokerableAttachment>>
99 const scoped_refptr<BrokerableAttachment>& attachment);
150 std::vector<scoped_refptr<BrokerableAttachment>> brokerable_attachments_;
ipc_message.cc 152 std::vector<scoped_refptr<IPC::BrokerableAttachment>> attachments(
155 BrokerableAttachment::kNonceSize);
156 size_t size = attachments.size() * BrokerableAttachment::kNonceSize;
159 char* start_range = buffer + i * BrokerableAttachment::kNonceSize;
160 BrokerableAttachment::AttachmentId id = attachments[i]->GetIdentifier();
161 id.SerializeToBuffer(start_range, BrokerableAttachment::kNonceSize);
199 if (num_attachments >= max_size_t / BrokerableAttachment::kNonceSize)
202 size_t attachment_length = num_attachments * BrokerableAttachment::kNonceSize;
213 pickle_end + i * BrokerableAttachment::kNonceSize;
214 BrokerableAttachment::AttachmentId id(attachment_start
    [all...]
ipc_message_attachment_set.cc 104 BrokerableAttachment* brokerable_attachment =
105 static_cast<BrokerableAttachment*>(attachment.get());
106 scoped_refptr<BrokerableAttachment> a(brokerable_attachment);
172 scoped_refptr<BrokerableAttachment> brokerable_attachment(
182 std::vector<scoped_refptr<IPC::BrokerableAttachment>>
188 const scoped_refptr<BrokerableAttachment>& attachment) {
189 DCHECK_NE(BrokerableAttachment::PLACEHOLDER, attachment->GetBrokerableType());
192 if ((*it)->GetBrokerableType() == BrokerableAttachment::PLACEHOLDER &&
ipc_message.h 197 std::vector<BrokerableAttachment::AttachmentId> attachment_ids;
220 BrokerableAttachment::AttachmentId id);
ipc_message_utils.cc 589 void ParamTraits<BrokerableAttachment::AttachmentId>::Write(
592 m->WriteBytes(p.nonce, BrokerableAttachment::kNonceSize);
595 bool ParamTraits<BrokerableAttachment::AttachmentId>::Read(
600 if (!iter->ReadBytes(&data, BrokerableAttachment::kNonceSize))
602 memcpy(r->nonce, data, BrokerableAttachment::kNonceSize);
606 void ParamTraits<BrokerableAttachment::AttachmentId>::Log(const param_type& p,
608 l->append(base::HexEncode(p.nonce, BrokerableAttachment::kNonceSize));
    [all...]
ipc_message_utils.h 517 struct IPC_EXPORT ParamTraits<BrokerableAttachment::AttachmentId> {
518 typedef BrokerableAttachment::AttachmentId param_type;
    [all...]

Completed in 6958 milliseconds