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_DEFLATER_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_ |
6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 |
9 #include <deque> | 10 #include <deque> |
10 #include <vector> | 11 #include <vector> |
11 | 12 |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
16 | 17 |
17 extern "C" struct z_stream_s; | 18 extern "C" struct z_stream_s; |
18 | 19 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 std::vector<char> fixed_buffer_; | 71 std::vector<char> fixed_buffer_; |
71 // true if bytes were added after last Finish(). | 72 // true if bytes were added after last Finish(). |
72 bool are_bytes_added_; | 73 bool are_bytes_added_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(WebSocketDeflater); | 75 DISALLOW_COPY_AND_ASSIGN(WebSocketDeflater); |
75 }; | 76 }; |
76 | 77 |
77 } // namespace net | 78 } // namespace net |
78 | 79 |
79 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_ | 80 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_ |
OLD | NEW |