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_CREATE_HELPER_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_CREATE_HELPER_H_ |
6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_CREATE_HELPER_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_CREATE_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
13 #include "net/websockets/websocket_handshake_stream_base.h" | 14 #include "net/websockets/websocket_handshake_stream_base.h" |
14 #include "net/websockets/websocket_stream.h" | 15 #include "net/websockets/websocket_stream.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 | 18 |
18 class WebSocketBasicHandshakeStream; | 19 class WebSocketBasicHandshakeStream; |
19 | 20 |
20 // Implementation of WebSocketHandshakeStreamBase::CreateHelper. This class is | 21 // Implementation of WebSocketHandshakeStreamBase::CreateHelper. This class is |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 75 |
75 WebSocketStream::ConnectDelegate* connect_delegate_; | 76 WebSocketStream::ConnectDelegate* connect_delegate_; |
76 std::string* failure_message_; | 77 std::string* failure_message_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeStreamCreateHelper); | 79 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeStreamCreateHelper); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace net | 82 } // namespace net |
82 | 83 |
83 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_CREATE_HELPER_H_ | 84 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_STREAM_CREATE_HELPER_H_ |
OLD | NEW |