Index: net/spdy/spdy_stream_spdy3_unittest.cc |
diff --git a/net/spdy/spdy_stream_spdy3_unittest.cc b/net/spdy/spdy_stream_spdy3_unittest.cc |
index 313756a242c835407f23b02632e6bd1349439b66..9cc395b25ce7b12843dabdfb923820234bc9047a 100644 |
--- a/net/spdy/spdy_stream_spdy3_unittest.cc |
+++ b/net/spdy/spdy_stream_spdy3_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_spdy3.h" |
+#include "net/spdy/spdy_websocket_test_util_spdy3.h" |
#include "testing/gtest/include/gtest/gtest.h" |
using namespace net::test_spdy3; |
@@ -180,7 +181,7 @@ TEST_F(SpdyStreamSpdy3Test, 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", |
@@ -233,7 +234,7 @@ TEST_F(SpdyStreamSpdy3Test, 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); |