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

Unified Diff: trunk/src/net/websockets/websocket_stream.h

Issue 388493002: Revert 282307 "Map WebSocket URL schemes to HTTP URL schemes for..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/net/websockets/websocket_stream.h
===================================================================
--- trunk/src/net/websockets/websocket_stream.h (revision 282330)
+++ trunk/src/net/websockets/websocket_stream.h (working copy)
@@ -10,10 +10,8 @@
#include "base/basictypes.h"
#include "base/callback_forward.h"
-#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
-#include "base/time/time.h"
#include "net/base/completion_callback.h"
#include "net/base/net_export.h"
#include "net/websockets/websocket_event_interface.h"
@@ -200,16 +198,6 @@
DISALLOW_COPY_AND_ASSIGN(WebSocketStream);
};
-// A helper function used in the implementation of CreateAndConnectStream() and
-// WebSocketBasicHandshakeStream. It creates a WebSocketHandshakeResponseInfo
-// object and dispatches it to the OnFinishOpeningHandshake() method of the
-// supplied |connect_delegate|.
-void WebSocketDispatchOnFinishOpeningHandshake(
- WebSocketStream::ConnectDelegate* connect_delegate,
- const GURL& gurl,
- const scoped_refptr<HttpResponseHeaders>& headers,
- base::Time response_time);
-
} // namespace net
#endif // NET_WEBSOCKETS_WEBSOCKET_STREAM_H_
« no previous file with comments | « trunk/src/net/websockets/websocket_basic_handshake_stream.cc ('k') | trunk/src/net/websockets/websocket_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698