OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "net/websockets/websocket_stream.h" | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 namespace net { | |
10 | |
11 WebSocketStreamRequest::~WebSocketStreamRequest() {} | |
12 | |
13 WebSocketStream::WebSocketStream() : WebSocketStreamBase() {} | |
mmenke1
2013/06/27 16:56:23
nit: ": WebSocketStreamBase() " not needed.
Adam Rice
2013/06/28 04:46:47
Done.
| |
14 WebSocketStream::~WebSocketStream() {} | |
15 | |
16 // Placeholder until the real implementation is ready. | |
17 scoped_ptr<WebSocketStreamRequest> WebSocketStream::CreateAndConnectStream( | |
18 const GURL& socket_url, | |
19 const std::vector<std::string>& requested_subprotocols, | |
20 const GURL& origin, | |
21 URLRequestContext* url_request_context, | |
22 const BoundNetLog& net_log, | |
23 scoped_ptr<ConnectDelegate> connect_delegate) { | |
24 NOTIMPLEMENTED(); | |
25 return make_scoped_ptr(new WebSocketStreamRequest()); | |
26 } | |
27 | |
28 WebSocketStream* WebSocketStream::AsWebSocketStream() { return this; } | |
29 | |
30 } // namespace net | |
OLD | NEW |