naiveproxy/net/websockets/websocket_deflate_predictor_impl.cc

24 lines
666 B
C++
Raw Permalink Normal View History

2018-01-28 19:30:36 +03:00
// Copyright 2013 The Chromium Authors. All rights reserved.
// 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_predictor_impl.h"
namespace net {
typedef WebSocketDeflatePredictor::Result Result;
Result WebSocketDeflatePredictorImpl::Predict(
const std::vector<std::unique_ptr<WebSocketFrame>>& frames,
size_t frame_index) {
return DEFLATE;
}
void WebSocketDeflatePredictorImpl::RecordInputDataFrame(
const WebSocketFrame* frame) {}
void WebSocketDeflatePredictorImpl::RecordWrittenDataFrame(
const WebSocketFrame* frame) {}
} // namespace net