Clang format

pull/8281/head
Garrett Casto 8 years ago
parent 7ec31718f4
commit a2a325048d
  1. 10
      src/cpp/client/cronet_credentials.cc

@ -1,25 +1,23 @@
#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 {

Loading…
Cancel
Save