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

Unified Diff: net/websockets/websocket_test_util.h

Issue 240873003: Create WebSocketTransportClientSocketPool (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor fixes and comment tidying. Created 6 years, 7 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: 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);
};

Powered by Google App Engine
This is Rietveld 408576698