Home
last modified time | relevance | path

Searched refs:legacy_header (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/mojo/core/
Dchannel.cc128 legacy_header()->num_bytes = static_cast<uint32_t>(size_); in Message()
132 legacy_header()->message_type = message_type; in Message()
135 legacy_header()->num_handles = static_cast<uint16_t>(max_handles); in Message()
172 const LegacyHeader* legacy_header = in Deserialize() local
174 if (legacy_header->num_bytes != data_num_bytes) { in Deserialize()
175 DLOG(ERROR) << "Decoding invalid message: " << legacy_header->num_bytes in Deserialize()
181 if (legacy_header->message_type == MessageType::NORMAL) in Deserialize()
223 header ? header->num_handles : legacy_header->num_handles; in Deserialize()
231 new Message(payload_size, max_handles, legacy_header->message_type)); in Deserialize()
250 message->legacy_header()->num_handles = legacy_header->num_handles; in Deserialize()
[all …]
Dchannel.h183 LegacyHeader* legacy_header() const;