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_HANDSHAKE_STREAM_BASE_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_BASE_H_ |
6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_BASE_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_BASE_H_ |
7 | 7 |
8 // This file is included from net/http files. | 8 // This file is included from net/http files. |
9 // Since net/http can be built without linking net/websockets code, | 9 // Since net/http can be built without linking net/websockets code, |
10 // this file must not introduce any link-time dependencies on websockets. | 10 // this file must not introduce any link-time dependencies on websockets. |
11 | 11 |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/supports_user_data.h" | 17 #include "base/supports_user_data.h" |
| 18 #include "net/base/net_export.h" |
18 #include "net/http/http_stream.h" | 19 #include "net/http/http_stream.h" |
19 #include "net/url_request/websocket_handshake_userdata_key.h" | 20 #include "net/url_request/websocket_handshake_userdata_key.h" |
20 #include "net/websockets/websocket_stream.h" | 21 #include "net/websockets/websocket_stream.h" |
21 | 22 |
22 namespace net { | 23 namespace net { |
23 | 24 |
24 class ClientSocketHandle; | 25 class ClientSocketHandle; |
25 class SpdySession; | 26 class SpdySession; |
26 | 27 |
27 // WebSocketHandshakeStreamBase is the base class of | 28 // WebSocketHandshakeStreamBase is the base class of |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // As with the destructor, this must be inline. | 71 // As with the destructor, this must be inline. |
71 WebSocketHandshakeStreamBase() {} | 72 WebSocketHandshakeStreamBase() {} |
72 | 73 |
73 private: | 74 private: |
74 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeStreamBase); | 75 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeStreamBase); |
75 }; | 76 }; |
76 | 77 |
77 } // namespace net | 78 } // namespace net |
78 | 79 |
79 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_BASE_H_ | 80 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_BASE_H_ |
OLD | NEW |