OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FRAME_PARSER_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_FRAME_PARSER_H_ |
6 #define NET_WEBSOCKETS_WEBSOCKET_FRAME_PARSER_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_FRAME_PARSER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 |
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 #include "net/websockets/websocket_errors.h" | 17 #include "net/websockets/websocket_errors.h" |
17 #include "net/websockets/websocket_frame.h" | 18 #include "net/websockets/websocket_frame.h" |
18 | 19 |
19 namespace net { | 20 namespace net { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 uint64_t frame_offset_; | 80 uint64_t frame_offset_; |
80 | 81 |
81 WebSocketError websocket_error_; | 82 WebSocketError websocket_error_; |
82 | 83 |
83 DISALLOW_COPY_AND_ASSIGN(WebSocketFrameParser); | 84 DISALLOW_COPY_AND_ASSIGN(WebSocketFrameParser); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace net | 87 } // namespace net |
87 | 88 |
88 #endif // NET_WEBSOCKETS_WEBSOCKET_FRAME_PARSER_H_ | 89 #endif // NET_WEBSOCKETS_WEBSOCKET_FRAME_PARSER_H_ |
OLD | NEW |