diff options
author | Noah Eisen <ncteisen@gmail.com> | 2018-10-24 15:44:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 15:44:50 -0700 |
commit | 2eafaccba6510cd501f723c8f7146d11aff23586 (patch) | |
tree | 50e9f584a852b8df6afd7b33da4c6f187bdc3874 /include/grpcpp | |
parent | 2b54c93c652c912241e75d3abec02a1176cf03c7 (diff) |
Revert "Refactor Channelz Service to Support Internal Build"
Diffstat (limited to 'include/grpcpp')
-rw-r--r-- | include/grpcpp/impl/codegen/config_protobuf.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/grpcpp/impl/codegen/config_protobuf.h b/include/grpcpp/impl/codegen/config_protobuf.h index 598848ee9f..94e593d1ef 100644 --- a/include/grpcpp/impl/codegen/config_protobuf.h +++ b/include/grpcpp/impl/codegen/config_protobuf.h @@ -66,11 +66,6 @@ #define GRPC_CUSTOM_CODEDINPUTSTREAM ::google::protobuf::io::CodedInputStream #endif -#ifndef GRPC_CUSTOM_UTIL_STATUS -#include <google/protobuf/util/json_util.h> -#define GRPC_CUSTOM_UTIL_STATUS ::google::protobuf::util::Status -#endif - namespace grpc { namespace protobuf { @@ -88,17 +83,6 @@ typedef GRPC_CUSTOM_SERVICEDESCRIPTOR ServiceDescriptor; typedef GRPC_CUSTOM_SIMPLEDESCRIPTORDATABASE SimpleDescriptorDatabase; typedef GRPC_CUSTOM_SOURCELOCATION SourceLocation; -namespace util { -typedef GRPC_CUSTOM_UTIL_STATUS Status; - -inline util::Status JsonStringToMessage(const std::string& input, - Message* message) { - return ::google::protobuf::util::JsonStringToMessage( - input, message, ::google::protobuf::util::JsonParseOptions()); -} - -} // namespace util - namespace io { typedef GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM ZeroCopyOutputStream; typedef GRPC_CUSTOM_ZEROCOPYINPUTSTREAM ZeroCopyInputStream; |