| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PARAMETERS_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PARAMETERS_H_ |
| 6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PARAMETERS_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PARAMETERS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 |
| 9 #include <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "base/logging.h" | 12 #include "base/logging.h" |
| 12 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 13 #include "net/websockets/websocket_deflater.h" | 14 #include "net/websockets/websocket_deflater.h" |
| 14 #include "net/websockets/websocket_extension.h" | 15 #include "net/websockets/websocket_extension.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 | 18 |
| 18 // A WebSocketDeflateParameters represents permessage-deflate extension | 19 // A WebSocketDeflateParameters represents permessage-deflate extension |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // only if |client_no_context_takeover| is set in the parameters. | 131 // only if |client_no_context_takeover| is set in the parameters. |
| 131 ContextTakeOverMode client_context_take_over_mode_ = | 132 ContextTakeOverMode client_context_take_over_mode_ = |
| 132 WebSocketDeflater::TAKE_OVER_CONTEXT; | 133 WebSocketDeflater::TAKE_OVER_CONTEXT; |
| 133 WindowBits server_max_window_bits_; | 134 WindowBits server_max_window_bits_; |
| 134 WindowBits client_max_window_bits_; | 135 WindowBits client_max_window_bits_; |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 } // namespace net | 138 } // namespace net |
| 138 | 139 |
| 139 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PARAMETERS_H_ | 140 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PARAMETERS_H_ |
| OLD | NEW |