chromium/net/websockets/websocket_extension_parser.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "net/websockets/websocket_extension_parser.h"

#include <string_view>

#include "base/check_op.h"
#include "net/http/http_util.h"

namespace net {

WebSocketExtensionParser::WebSocketExtensionParser() = default;

WebSocketExtensionParser::~WebSocketExtensionParser() = default;

bool WebSocketExtensionParser::Parse(const char* data, size_t size) {}

bool WebSocketExtensionParser::Consume(char c) {}

bool WebSocketExtensionParser::ConsumeExtension(WebSocketExtension* extension) {}

bool WebSocketExtensionParser::ConsumeExtensionParameter(
    WebSocketExtension::Parameter* parameter) {}

bool WebSocketExtensionParser::ConsumeToken(std::string_view* token) {}

bool WebSocketExtensionParser::ConsumeQuotedToken(std::string* token) {}

void WebSocketExtensionParser::ConsumeSpaces() {}

bool WebSocketExtensionParser::Lookahead(char c) {}

bool WebSocketExtensionParser::ConsumeIfMatch(char c) {}

}  // namespace net