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.
5 #include "net/websockets/websocket_stream.h"
7 #include "base/logging.h"
11 WebSocketStreamRequest::~WebSocketStreamRequest() {}
13 WebSocketStream::WebSocketStream() {}
14 WebSocketStream::~WebSocketStream() {}
16 WebSocketStream::ConnectDelegate::~ConnectDelegate() {}
18 // Placeholder until the real implementation is ready.
19 scoped_ptr<WebSocketStreamRequest> WebSocketStream::CreateAndConnectStream(
20 const GURL& socket_url,
21 const std::vector<std::string>& requested_subprotocols,
23 URLRequestContext* url_request_context,
24 const BoundNetLog& net_log,
25 scoped_ptr<ConnectDelegate> connect_delegate) {
27 return make_scoped_ptr(new WebSocketStreamRequest());