blob: 88c7d5a874d75979100bd3631c842d64ff6d6670 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_BASE_GRPC_SUPPORT_GRPC_CHANNEL_H_
#define REMOTING_BASE_GRPC_SUPPORT_GRPC_CHANNEL_H_
#include <memory>
namespace grpc {
class ChannelInterface;
} // namespace grpc
namespace remoting {
// TODO(yuweih): See if you should create a wrapper for the shared pointer.
#include "remoting/base/grpc_support/using_grpc_channel_shared_ptr.inc"
GrpcChannelSharedPtr CreateSslChannelForEndpoint(const std::string& endpoint);
} // namespace remoting
#endif // REMOTING_BASE_GRPC_SUPPORT_GRPC_CHANNEL_H_