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 #ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_ |
6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 |
9 #include <string> | 10 #include <string> |
10 #include <vector> | 11 #include <vector> |
11 | 12 |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
15 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
16 #include "net/websockets/websocket_deflater.h" | 17 #include "net/websockets/websocket_deflater.h" |
17 #include "net/websockets/websocket_frame.h" | 18 #include "net/websockets/websocket_frame.h" |
18 #include "net/websockets/websocket_inflater.h" | 19 #include "net/websockets/websocket_inflater.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 WebSocketFrameHeader::OpCode current_reading_opcode_; | 100 WebSocketFrameHeader::OpCode current_reading_opcode_; |
100 WebSocketFrameHeader::OpCode current_writing_opcode_; | 101 WebSocketFrameHeader::OpCode current_writing_opcode_; |
101 scoped_ptr<WebSocketDeflatePredictor> predictor_; | 102 scoped_ptr<WebSocketDeflatePredictor> predictor_; |
102 | 103 |
103 DISALLOW_COPY_AND_ASSIGN(WebSocketDeflateStream); | 104 DISALLOW_COPY_AND_ASSIGN(WebSocketDeflateStream); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace net | 107 } // namespace net |
107 | 108 |
108 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_ | 109 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_ |
OLD | NEW |