naiveproxy/net/websockets/websocket_deflate_predictor_impl.cc
2018-01-29 00:30:36 +08:00

24 lines
666 B
C++

// 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