Lines Matching refs:protobuf
8 #include "google/protobuf/io/coded_stream.h"
15 using namespace google::protobuf::io;
89 const google::protobuf::MessageLite& message) {
111 const google::protobuf::MessageLite& login_request) {
300 LOG(ERROR) << "Failed to receive protobuf tag.";
301 read_callback_.Run(scoped_ptr<google::protobuf::MessageLite>());
325 read_callback_.Run(scoped_ptr<google::protobuf::MessageLite>());
363 scoped_ptr<google::protobuf::MessageLite> protobuf(
365 // Messages with no content are valid; just use the default protobuf for
367 if (protobuf.get() && message_size_ == 0) {
372 read_callback_.Run(protobuf.Pass());
377 LOG(ERROR) << "Failed to extract protobuf bytes of type "
384 if (!protobuf.get()) {
393 if (!protobuf->ParsePartialFromCodedStream(&coded_input_stream)) {
416 read_callback_.Run(protobuf.Pass());