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 #include "net/websockets/websocket_handshake_stream_create_helper.h" | 5 #include "net/websockets/websocket_handshake_stream_create_helper.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "net/socket/client_socket_handle.h" | 12 #include "net/socket/client_socket_handle.h" |
13 #include "net/spdy/spdy_session.h" | 13 #include "net/spdy/chromium/spdy_session.h" |
14 #include "net/websockets/websocket_basic_handshake_stream.h" | 14 #include "net/websockets/websocket_basic_handshake_stream.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 WebSocketHandshakeStreamCreateHelper::WebSocketHandshakeStreamCreateHelper( | 18 WebSocketHandshakeStreamCreateHelper::WebSocketHandshakeStreamCreateHelper( |
19 WebSocketStream::ConnectDelegate* connect_delegate, | 19 WebSocketStream::ConnectDelegate* connect_delegate, |
20 const std::vector<std::string>& requested_subprotocols) | 20 const std::vector<std::string>& requested_subprotocols) |
21 : requested_subprotocols_(requested_subprotocols), | 21 : requested_subprotocols_(requested_subprotocols), |
22 connect_delegate_(connect_delegate), | 22 connect_delegate_(connect_delegate), |
23 request_(nullptr) { | 23 request_(nullptr) { |
(...skipping 27 matching lines...) Expand all Loading... |
51 const base::WeakPtr<SpdySession>& session, | 51 const base::WeakPtr<SpdySession>& session, |
52 bool use_relative_url) { | 52 bool use_relative_url) { |
53 NOTREACHED() << "Not implemented"; | 53 NOTREACHED() << "Not implemented"; |
54 return NULL; | 54 return NULL; |
55 } | 55 } |
56 | 56 |
57 void WebSocketHandshakeStreamCreateHelper::OnBasicStreamCreated( | 57 void WebSocketHandshakeStreamCreateHelper::OnBasicStreamCreated( |
58 WebSocketBasicHandshakeStream* stream) {} | 58 WebSocketBasicHandshakeStream* stream) {} |
59 | 59 |
60 } // namespace net | 60 } // namespace net |
OLD | NEW |