Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: net/websockets/websocket_handshake_stream_create_helper.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698