Index: net/spdy/spdy_stream_spdy2_unittest.cc |
diff --git a/net/spdy/spdy_stream_spdy2_unittest.cc b/net/spdy/spdy_stream_spdy2_unittest.cc |
index 37bc3920e76874b4301952aa914a6a5f5854cf2e..20af1f1e48058d26ab141107cc57c7cd6bfa6ffc 100644 |
--- a/net/spdy/spdy_stream_spdy2_unittest.cc |
+++ b/net/spdy/spdy_stream_spdy2_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "net/spdy/spdy_session.h" |
#include "net/spdy/spdy_stream_test_util.h" |
#include "net/spdy/spdy_test_util_spdy2.h" |
+#include "net/spdy/spdy_websocket_test_util_spdy2.h" |
#include "testing/gtest/include/gtest/gtest.h" |
using namespace net::test_spdy2; |
@@ -179,7 +180,7 @@ TEST_F(SpdyStreamSpdy2Test, SendHeaderAndDataAfterOpen) { |
session_ = SpdySessionDependencies::SpdyCreateSession(&session_deps); |
SpdySessionPoolPeer pool_peer_(session_->spdy_session_pool()); |
- scoped_ptr<SpdyFrame> expected_request(ConstructSpdyWebSocket( |
+ scoped_ptr<SpdyFrame> expected_request(ConstructSpdyWebSocketSynStream( |
1, |
"/chat", |
"server.example.com", |
@@ -232,7 +233,7 @@ TEST_F(SpdyStreamSpdy2Test, SendHeaderAndDataAfterOpen) { |
scoped_refptr<SpdyStream> stream; |
ASSERT_EQ( |
OK, |
- session->CreateStream(url, LOWEST, &stream, BoundNetLog(), |
+ session->CreateStream(url, HIGHEST, &stream, BoundNetLog(), |
CompletionCallback())); |
scoped_refptr<IOBufferWithSize> buf(new IOBufferWithSize(6)); |
memcpy(buf->data(), "hello!", 6); |