diff options
author | Garrett Casto <gcasto@google.com> | 2016-10-20 16:51:04 -0700 |
---|---|---|
committer | Garrett Casto <gcasto@google.com> | 2016-10-20 16:51:04 -0700 |
commit | a2a325048d217a65f4e344f339375f3c9d69e69a (patch) | |
tree | c28039948044a9d41c9942fbb0c8180efc76f807 | |
parent | 7ec31718f45d9ff227752a72bdcde693890676fb (diff) |
Clang format
-rw-r--r-- | src/cpp/client/cronet_credentials.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/cpp/client/cronet_credentials.cc b/src/cpp/client/cronet_credentials.cc index e285578d6e..25da065a44 100644 --- a/src/cpp/client/cronet_credentials.cc +++ b/src/cpp/client/cronet_credentials.cc @@ -1,32 +1,30 @@ #include <grpc++/security/credentials.h> -#include <grpc/grpc_cronet.h> #include <grpc++/channel.h> #include <grpc++/support/channel_arguments.h> +#include <grpc/grpc_cronet.h> #include "src/cpp/client/create_channel_internal.h" namespace grpc { class CronetChannelCredentialsImpl GRPC_FINAL : public ChannelCredentials { public: - CronetChannelCredentialsImpl(void* engine) - : engine_(engine) {} + CronetChannelCredentialsImpl(void* engine) : engine_(engine) {} std::shared_ptr<grpc::Channel> CreateChannel( const string& target, const grpc::ChannelArguments& args) GRPC_OVERRIDE { grpc_channel_args channel_args; args.SetChannelArgs(&channel_args); return CreateChannelInternal( - "", - grpc_cronet_secure_channel_create( - engine_, target.c_str(), &channel_args, nullptr)); + "", grpc_cronet_secure_channel_create(engine_, target.c_str(), + &channel_args, nullptr)); } SecureChannelCredentials* AsSecureCredentials() GRPC_OVERRIDE { return nullptr; } -private: + private: void* engine_; }; |