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

Unified Diff: net/websockets/websocket_test_util.cc

Issue 902553002: Change error message for WebSocket tunnel failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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.cc
diff --git a/net/websockets/websocket_test_util.cc b/net/websockets/websocket_test_util.cc
index 6091c9e0be16a1a95d48e2c7cb7ba5f37b41eda7..89232e1ca844823e2b8ddebf914e476e70698992 100644
--- a/net/websockets/websocket_test_util.cc
+++ b/net/websockets/websocket_test_util.cc
@@ -151,6 +151,11 @@ void WebSocketTestURLRequestContextHost::AddSSLSocketDataProvider(
maker_.AddSSLSocketDataProvider(ssl_socket_data.Pass());
}
+void WebSocketTestURLRequestContextHost::SetProxyService(
+ scoped_ptr<ProxyService> proxy_service) {
+ url_request_context_.set_proxy_service(proxy_service.release());
+}
+
TestURLRequestContext*
WebSocketTestURLRequestContextHost::GetURLRequestContext() {
if (!url_request_context_initialized_) {
« net/websockets/websocket_test_util.h ('K') | « net/websockets/websocket_test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698