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
9namespace net {
10
11WebSocketStreamRequest::~WebSocketStreamRequest() {}
12
13WebSocketStream::WebSocketStream() {}
14WebSocketStream::~WebSocketStream() {}
15
16WebSocketStream::ConnectDelegate::~ConnectDelegate() {}
17
18// Placeholder until the real implementation is ready.
19scoped_ptr<WebSocketStreamRequest> WebSocketStream::CreateAndConnectStream(
20    const GURL& socket_url,
21    const std::vector<std::string>& requested_subprotocols,
22    const GURL& origin,
23    URLRequestContext* url_request_context,
24    const BoundNetLog& net_log,
25    scoped_ptr<ConnectDelegate> connect_delegate) {
26  NOTIMPLEMENTED();
27  return make_scoped_ptr(new WebSocketStreamRequest());
28}
29
30WebSocketStream* WebSocketStream::AsWebSocketStream() { return this; }
31
32}  // namespace net
33