chromium/net/websockets/websocket_deflater.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_deflater.h"

#include <string.h>

#include <algorithm>
#include <vector>

#include "base/check.h"
#include "base/check_op.h"
#include "base/containers/circular_deque.h"
#include "net/base/io_buffer.h"
#include "third_party/zlib/zlib.h"

namespace net {

WebSocketDeflater::WebSocketDeflater(ContextTakeOverMode mode) :{}

WebSocketDeflater::~WebSocketDeflater() {}

bool WebSocketDeflater::Initialize(int window_bits) {}

bool WebSocketDeflater::AddBytes(const char* data, size_t size) {}

bool WebSocketDeflater::Finish() {}

void WebSocketDeflater::PushSyncMark() {}

scoped_refptr<IOBufferWithSize> WebSocketDeflater::GetOutput(size_t size) {}

void WebSocketDeflater::ResetContext() {}

int WebSocketDeflater::Deflate(int flush) {}

}  // namespace net