aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-03-13 13:40:20 -0700
committerGravatar Yang Gao <yangg@google.com>2015-03-13 13:40:20 -0700
commit0049c51c1a2637f2c6bf927b0c464c7e294d3c32 (patch)
treea39a2d4e363b695630dc9d84e7439230315329fd /src/cpp
parentc97638b10bfd9de7a44d67c4c9431cb15968e28c (diff)
parent613d6fe997c8744f76f23a5819f6613ec3b288c2 (diff)
Merge pull request #1032 from nicolasnoble/protobuf-alternate
Adding support for alternative protobuf libraries.
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/proto/proto_utils.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpp/proto/proto_utils.cc b/src/cpp/proto/proto_utils.cc
index e4e51bfebf..acd204bf9b 100644
--- a/src/cpp/proto/proto_utils.cc
+++ b/src/cpp/proto/proto_utils.cc
@@ -39,12 +39,11 @@
#include <grpc/support/slice.h>
#include <grpc/support/slice_buffer.h>
#include <grpc/support/port_platform.h>
-#include <google/protobuf/io/zero_copy_stream.h>
const int kMaxBufferLength = 8192;
class GrpcBufferWriter GRPC_FINAL
- : public ::google::protobuf::io::ZeroCopyOutputStream {
+ : public ::grpc::protobuf::io::ZeroCopyOutputStream {
public:
explicit GrpcBufferWriter(grpc_byte_buffer **bp,
int block_size = kMaxBufferLength)
@@ -97,7 +96,7 @@ class GrpcBufferWriter GRPC_FINAL
};
class GrpcBufferReader GRPC_FINAL
- : public ::google::protobuf::io::ZeroCopyInputStream {
+ : public ::grpc::protobuf::io::ZeroCopyInputStream {
public:
explicit GrpcBufferReader(grpc_byte_buffer *buffer)
: byte_count_(0), backup_count_(0) {