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

Unified Diff: net/websockets/websocket_test_util.h

Issue 2628333003: Cancel URLRequest with an appropriate code when WebSocket handshake succeeds (Closed)
Patch Set: fix Created 3 years, 11 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
« no previous file with comments | « net/websockets/websocket_stream_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_test_util.h
diff --git a/net/websockets/websocket_test_util.h b/net/websockets/websocket_test_util.h
index 60831462771eae60f267cf0b37f18645dc0c54c5..23769404aa8809cf544ed38bd845f4f7431cbc2f 100644
--- a/net/websockets/websocket_test_util.h
+++ b/net/websockets/websocket_test_util.h
@@ -126,6 +126,10 @@ struct WebSocketTestURLRequestContextHost {
// returned pointer remains owned by this object.
TestURLRequestContext* GetURLRequestContext();
+ const TestNetworkDelegate& network_delegate() const {
+ return network_delegate_;
+ }
+
private:
WebSocketMockClientSocketFactoryMaker maker_;
TestURLRequestContext url_request_context_;
« no previous file with comments | « net/websockets/websocket_stream_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698