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

Unified Diff: net/websockets/websocket_end_to_end_test.cc

Issue 2003253002: [Devtools] Allow User-Agent header override for Websockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 4 years, 6 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_end_to_end_test.cc
diff --git a/net/websockets/websocket_end_to_end_test.cc b/net/websockets/websocket_end_to_end_test.cc
index afb0448dd8b7518237ebfe09f753488d1317a3f3..18e79b318de480683848340e9d405eb4640c72fc 100644
--- a/net/websockets/websocket_end_to_end_test.cc
+++ b/net/websockets/websocket_end_to_end_test.cc
@@ -268,7 +268,8 @@ class WebSocketEndToEndTest : public ::testing::Test {
event_interface_ = new ConnectTestingEventInterface;
channel_.reset(
new WebSocketChannel(base::WrapUnique(event_interface_), &context_));
- channel_->SendAddChannelRequest(GURL(socket_url), sub_protocols_, origin);
+ channel_->SendAddChannelRequest(GURL(socket_url), sub_protocols_, origin,
+ "");
event_interface_->WaitForResponse();
return !event_interface_->failed();
}
« no previous file with comments | « net/websockets/websocket_channel_test.cc ('k') | net/websockets/websocket_handshake_stream_create_helper_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698