aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-11-18 23:00:08 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-11-18 23:00:08 -0800
commit680b53f7ad7c93947003dcf8d377f2b33c7623e9 (patch)
treef65b4e4658680e4cd4d74e60dfb9f50616865c60 /src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
parentf0cbcde73195b8e17130538c3479d4c0e3bcd2a2 (diff)
clang-format
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m b/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
index 74ea9723b3..0aeb67b142 100644
--- a/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
+++ b/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
@@ -50,8 +50,7 @@
return self;
}
-- (grpc_channel *)createChannelWithHost:(NSString *)host
- channelArgs:(NSDictionary *)args {
+- (grpc_channel *)createChannelWithHost:(NSString *)host channelArgs:(NSDictionary *)args {
grpc_channel_args *channelArgs = GRPCBuildChannelArgs(args);
grpc_channel *unmanagedChannel =
grpc_cronet_secure_channel_create(_cronetEngine, host.UTF8String, channelArgs, NULL);
@@ -71,8 +70,7 @@
return nil;
}
-- (grpc_channel *)createChannelWithHost:(NSString *)host
- channelArgs:(NSDictionary *)args {
+- (grpc_channel *)createChannelWithHost:(NSString *)host channelArgs:(NSDictionary *)args {
[NSException raise:NSInvalidArgumentException
format:@"Must enable macro GRPC_COMPILE_WITH_CRONET to build Cronet channel."];
return NULL;