Chromium Code Reviews| Index: net/websockets/websocket_deflate_predictor_impl.cc |
| diff --git a/net/websockets/websocket_deflate_predictor_impl.cc b/net/websockets/websocket_deflate_predictor_impl.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0bf8a6df82029098f526281045b7b4b5e84e7b19 |
| --- /dev/null |
| +++ b/net/websockets/websocket_deflate_predictor_impl.cc |
| @@ -0,0 +1,26 @@ |
| +// 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 "base/basictypes.h" |
| +#include "base/memory/scoped_ptr.h" |
|
Adam Rice
2013/10/30 02:56:53
Not used. base/basictypes.h and base/memory/scoped
yhirano
2013/10/30 03:19:47
Done.
|
| +#include "base/memory/scoped_vector.h" |
| +#include "net/websockets/websocket_deflate_predictor_impl.h" |
|
Adam Rice
2013/10/30 02:56:53
This header file should go at the top.
yhirano
2013/10/30 03:19:47
Done.
|
| + |
| +namespace net { |
| + |
| +typedef WebSocketDeflatePredictor::Result Result; |
| + |
| +Result WebSocketDeflatePredictorImpl::Predict( |
| + const ScopedVector<WebSocketFrame>& frames, |
| + size_t frame_index) { |
| + return DEFLATE; |
| +} |
| + |
| +void WebSocketDeflatePredictorImpl::RecordInputDataFrame( |
| + const WebSocketFrame* frame) {} |
| + |
| +void WebSocketDeflatePredictorImpl::RecordWrittenDataFrame( |
| + const WebSocketFrame* frame) {} |
| + |
| +} // namespace net |