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_; |