#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_URL_PATTERN_URL_PATTERN_CANON_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_URL_PATTERN_URL_PATTERN_CANON_H_
#include "third_party/abseil-cpp/absl/status/statusor.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
class ExceptionState;
namespace url_pattern {
enum class ValueType { … };
String CanonicalizeProtocol(const String& input,
ValueType type,
ExceptionState& exception_state);
void CanonicalizeUsernameAndPassword(const String& username,
const String& password,
ValueType type,
String& username_out,
String& password_out,
ExceptionState& exception_state);
String CanonicalizeHostname(const String& input,
ValueType type,
ExceptionState& exception_state);
String CanonicalizePort(const String& input,
ValueType type,
const String& protocol,
ExceptionState& exception_state);
String CanonicalizePathname(const String& protocol,
const String& input,
ValueType type,
ExceptionState& exception_state);
String CanonicalizeSearch(const String& input,
ValueType type,
ExceptionState& exception_state);
String CanonicalizeHash(const String& input,
ValueType type,
ExceptionState& exception_state);
}
}
#endif