Index: net/websockets/websocket_test_util.h |
diff --git a/net/websockets/websocket_test_util.h b/net/websockets/websocket_test_util.h |
index 5dba6cde691450d7ef825f39516404a21f613f22..773dc2a7cd435d58457d724ba5f5ecda864477fe 100644 |
--- a/net/websockets/websocket_test_util.h |
+++ b/net/websockets/websocket_test_util.h |
@@ -101,14 +101,14 @@ struct WebSocketTestURLRequestContextHost { |
void SetRawExpectations(scoped_ptr<DeterministicSocketData> socket_data); |
// Call after calling one of SetExpections() or SetRawExpectations(). The |
- // returned pointer remains owned by this object. This should only be called |
- // once. |
+ // returned pointer remains owned by this object. |
TestURLRequestContext* GetURLRequestContext(); |
private: |
WebSocketDeterministicMockClientSocketFactoryMaker maker_; |
TestURLRequestContext url_request_context_; |
TestNetworkDelegate network_delegate_; |
+ bool url_request_context_initialized_; |
DISALLOW_COPY_AND_ASSIGN(WebSocketTestURLRequestContextHost); |
}; |