Searched defs:serialized_protobuf (Results 1 - 1 of 1) sorted by relevance

/system/connectivity/shill/dbus/
H A Dchromeos_power_manager_proxy.cc38 string serialized_protobuf; local
39 if (!protobuf.SerializeToString(&serialized_protobuf))
41 out->assign(serialized_protobuf.begin(), serialized_protobuf.end());
45 // Deserializes |serialized_protobuf| to |protobuf_out| and returns true on
47 bool DeserializeProtocolBuffer(const vector<uint8_t>& serialized_protobuf, argument
50 if (serialized_protobuf.empty())
52 return protobuf_out->ParseFromArray(&serialized_protobuf.front(),
53 serialized_protobuf.size());

Completed in 45 milliseconds