Add missing namespace for binder transport phony implementation (#27225)

Also order the definitions correctly
pull/27229/head
Ming-Chuan 3 years ago committed by GitHub
parent 7911beacdb
commit 5b808a1bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      src/core/ext/transport/binder/client/channel_create.cc

@ -105,6 +105,14 @@ std::shared_ptr<grpc::Channel> CreateBinderChannel(
#else // !GPR_SUPPORT_BINDER_TRANSPORT
namespace grpc {
namespace experimental {
void BindToOnDeviceServerService(void*, jobject, absl::string_view,
absl::string_view) {
GPR_ASSERT(0);
}
std::shared_ptr<grpc::Channel> CreateBinderChannel(void*, jobject,
absl::string_view,
absl::string_view) {
@ -112,10 +120,8 @@ std::shared_ptr<grpc::Channel> CreateBinderChannel(void*, jobject,
return {};
}
void BindToOnDeviceServerService(void*, jobject, absl::string_view,
absl::string_view) {
GPR_ASSERT(0);
}
} // namespace experimental
} // namespace grpc
#endif // GPR_SUPPORT_BINDER_TRANSPORT

Loading…
Cancel
Save