Home | History | Annotate | Download | only in base

Lines Matching refs:protobuf

15                        const google::protobuf::MessageLite& protobuf) {
16 scoped_ptr<google::protobuf::MessageLite> owned_protobuf(protobuf.New());
17 owned_protobuf->CheckTypeAndMergeFrom(protobuf);
23 scoped_ptr<const google::protobuf::MessageLite> protobuf) {
24 protobuf_ = protobuf.Pass();
29 const google::protobuf::MessageLite& MCSMessage::Core::Get() const {
35 MCSMessage::MCSMessage(const google::protobuf::MessageLite& protobuf)
36 : tag_(GetMCSProtoTag(protobuf)),
37 size_(protobuf.ByteSize()),
38 core_(new Core(tag_, protobuf)) {
42 const google::protobuf::MessageLite& protobuf)
44 size_(protobuf.ByteSize()),
45 core_(new Core(tag_, protobuf)) {
46 DCHECK_EQ(tag, GetMCSProtoTag(protobuf));
50 scoped_ptr<const google::protobuf::MessageLite> protobuf)
52 size_(protobuf->ByteSize()),
53 core_(new Core(tag_, protobuf.Pass())) {
68 const google::protobuf::MessageLite& MCSMessage::GetProtobuf() const {
72 scoped_ptr<google::protobuf::MessageLite> MCSMessage::CloneProtobuf() const {
73 scoped_ptr<google::protobuf::MessageLite> clone(GetProtobuf().New());