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

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

Issue 17610006: Add WebSocketStream factory function (Closed) Base URL: http://git.chromium.org/chromium/src.git@web_socket_net
Patch Set: Add missing ConnectDelegate destructor Created 7 years, 5 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
OLDNEW
(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() {}
14 WebSocketStream::~WebSocketStream() {}
15
16 WebSocketStream::ConnectDelegate::~ConnectDelegate() {}
17
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,
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
30 WebSocketStream* WebSocketStream::AsWebSocketStream() { return this; }
31
32 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698