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

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: Fix clang compile errors. 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 WebSocketStream::WebSocketStream() : WebSocketStreamBase() {}
12 WebSocketStream::~WebSocketStream() {}
13
14 // Placeholder until the real implementation is ready.
15 void WebSocketStream::CreateAndConnectStream(
16 const GURL& socket_url,
17 const std::vector<std::string>& requested_protocols,
18 const GURL& origin,
19 URLRequestContext* url_request_context,
20 const SuccessCallback& on_success,
21 const FailureCallback& on_failure) {
22 NOTIMPLEMENTED();
23 }
24
25 WebSocketStream* WebSocketStream::AsWebSocketStream() { return this; }
26
27 } // namespace net
OLDNEW
« net/websockets/websocket_stream.h ('K') | « net/websockets/websocket_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698