OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/websockets/websocket_deflate_predictor_impl.h" | 5 #include "net/websockets/websocket_deflate_predictor_impl.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 typedef WebSocketDeflatePredictor::Result Result; | 9 typedef WebSocketDeflatePredictor::Result Result; |
10 | 10 |
11 Result WebSocketDeflatePredictorImpl::Predict( | 11 Result WebSocketDeflatePredictorImpl::Predict( |
12 const ScopedVector<WebSocketFrame>& frames, | 12 const ScopedVector<WebSocketFrame>& frames, |
13 size_t frame_index) { | 13 size_t frame_index) { |
14 return DEFLATE; | 14 return DEFLATE; |
15 } | 15 } |
16 | 16 |
17 void WebSocketDeflatePredictorImpl::RecordInputDataFrame( | 17 void WebSocketDeflatePredictorImpl::RecordInputDataFrame( |
18 const WebSocketFrame* frame) {} | 18 const WebSocketFrame* frame) { |
| 19 } |
19 | 20 |
20 void WebSocketDeflatePredictorImpl::RecordWrittenDataFrame( | 21 void WebSocketDeflatePredictorImpl::RecordWrittenDataFrame( |
21 const WebSocketFrame* frame) {} | 22 const WebSocketFrame* frame) { |
| 23 } |
22 | 24 |
23 } // namespace net | 25 } // namespace net |
OLD | NEW |