chromium/net/websockets/websocket_deflate_parameters.cc

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

#include "net/websockets/websocket_deflate_parameters.h"

#include <vector>  // for iterating over extension.parameters()

#include "base/strings/string_number_conversions.h"

namespace net {

namespace {

const WebSocketDeflater::ContextTakeOverMode kTakeOverContext =;
const WebSocketDeflater::ContextTakeOverMode kDoNotTakeOverContext =;

constexpr char kServerNoContextTakeOver[] =;
constexpr char kClientNoContextTakeOver[] =;
constexpr char kServerMaxWindowBits[] =;
constexpr char kClientMaxWindowBits[] =;
constexpr char kExtensionName[] =;

bool GetWindowBits(const std::string& value, int* window_bits) {}

bool DuplicateError(const std::string& name, std::string* failure_message) {}

bool InvalidError(const std::string& name, std::string* failure_message) {}

}  // namespace

WebSocketExtension WebSocketDeflateParameters::AsExtension() const {}

bool WebSocketDeflateParameters::IsValidAsRequest(std::string*) const {}

bool WebSocketDeflateParameters::IsValidAsResponse(
    std::string* failure_message) const {}

bool WebSocketDeflateParameters::Initialize(const WebSocketExtension& extension,
                                            std::string* failure_message) {}

bool WebSocketDeflateParameters::IsCompatibleWith(
    const WebSocketDeflateParameters& response) const {}

}  // namespace net