#include "p2p/base/transport_description.h"
#include "absl/strings/ascii.h"
#include "absl/strings/match.h"
#include "absl/strings/string_view.h"
#include "p2p/base/p2p_constants.h"
#include "rtc_base/arraysize.h"
#include "rtc_base/logging.h"
#include "rtc_base/strings/string_builder.h"
RTCError;
RTCErrorOr;
RTCErrorType;
namespace cricket {
namespace {
bool IsIceChar(char c) { … }
RTCError ValidateIceUfrag(absl::string_view raw_ufrag) { … }
RTCError ValidateIcePwd(absl::string_view raw_pwd) { … }
}
RTCErrorOr<IceParameters> IceParameters::Parse(absl::string_view raw_ufrag,
absl::string_view raw_pwd) { … }
RTCError IceParameters::Validate() const { … }
absl::optional<ConnectionRole> StringToConnectionRole(
absl::string_view role_str) { … }
bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str) { … }
TransportDescription::TransportDescription()
: … { … }
TransportDescription::TransportDescription(
const std::vector<std::string>& transport_options,
absl::string_view ice_ufrag,
absl::string_view ice_pwd,
IceMode ice_mode,
ConnectionRole role,
const rtc::SSLFingerprint* identity_fingerprint)
: … { … }
TransportDescription::TransportDescription(absl::string_view ice_ufrag,
absl::string_view ice_pwd)
: … { … }
TransportDescription::TransportDescription(const TransportDescription& from)
: … { … }
TransportDescription::~TransportDescription() = default;
TransportDescription& TransportDescription::operator=(
const TransportDescription& from) { … }
}