#include "remoting/protocol/remoting_ice_config_request.h"
#include <utility>
#include "base/functional/bind.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "google_apis/google_api_keys.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "remoting/base/protobuf_http_request.h"
#include "remoting/base/protobuf_http_request_config.h"
#include "remoting/base/protobuf_http_status.h"
#include "remoting/base/service_urls.h"
#include "remoting/proto/remoting/v1/network_traversal_messages.pb.h"
#include "remoting/protocol/ice_config.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
namespace remoting::protocol {
namespace {
constexpr net::NetworkTrafficAnnotationTag kTrafficAnnotation = …;
constexpr char kGetIceConfigPath[] = …;
}
RemotingIceConfigRequest::RemotingIceConfigRequest(
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
OAuthTokenGetter* oauth_token_getter)
: … { … }
RemotingIceConfigRequest::~RemotingIceConfigRequest() = default;
void RemotingIceConfigRequest::Send(OnIceConfigCallback callback) { … }
void RemotingIceConfigRequest::OnResponse(
const ProtobufHttpStatus& status,
std::unique_ptr<apis::v1::GetIceConfigResponse> response) { … }
}