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

Unified 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: Spelling fixes. Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« net/websockets/websocket_stream.h ('K') | « net/websockets/websocket_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_stream.cc
diff --git a/net/websockets/websocket_stream.cc b/net/websockets/websocket_stream.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f5da6852cae8a11a7d84a95aa30c0f4118a2191d
--- /dev/null
+++ b/net/websockets/websocket_stream.cc
@@ -0,0 +1,26 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/websockets/websocket_stream.h"
+
+#include "base/logging.h"
+
+namespace net {
+
+WebSocketStream::WebSocketStream()
+ : WebSocketStreamBase() {}
tyoshino (SeeGerritForStatus) 2013/06/26 04:05:10 4 sp indent
Adam Rice 2013/06/26 05:57:00 clang-format reformatted this onto on line, so I s
+WebSocketStream::~WebSocketStream() {}
+
+// Placeholder until the real implementation is ready.
+void WebSocketStream::CreateAndConnectStream(
+ const GURL& socket_url,
+ const std::vector<std::string>& requested_protocols,
+ const GURL& origin,
+ URLRequestContext* url_request_context,
+ const SuccessCallback& on_success,
+ const FailureCallback& on_failure) {
+ NOTIMPLEMENTED();
+}
+
+} // namespace net
« 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