#include "third_party/blink/renderer/platform/network/header_field_tokenizer.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "third_party/blink/renderer/platform/wtf/text/string_view.h"
namespace blink {
namespace {
Mode;
bool IsTokenCharacter(Mode mode, UChar c) { … }
}
HeaderFieldTokenizer::HeaderFieldTokenizer(const String& header_field)
: … { … }
HeaderFieldTokenizer::HeaderFieldTokenizer(HeaderFieldTokenizer&&) = default;
bool HeaderFieldTokenizer::Consume(char c) { … }
bool HeaderFieldTokenizer::ConsumeQuotedString(String& output) { … }
bool HeaderFieldTokenizer::ConsumeToken(Mode mode, StringView& output) { … }
bool HeaderFieldTokenizer::ConsumeTokenOrQuotedString(Mode mode,
String& output) { … }
void HeaderFieldTokenizer::SkipOptionalWhitespace() { … }
void HeaderFieldTokenizer::ConsumeBeforeAnyCharMatch(Vector<LChar> chars) { … }
}