HomeSort by relevance Sort by last modified time
    Searched defs:spdy_util_ (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/net/spdy/
spdy_websocket_test_util.h 64 // Forwards to |spdy_util_|.
72 SpdyTestUtil spdy_util_; member in class:net::SpdyWebSocketTestUtil
spdy_http_stream_unittest.cc 69 : spdy_util_(GetParam()),
117 SpdyTestUtil spdy_util_; member in class:net::SpdyHttpStreamTest
156 spdy_util_.ConstructSpdyGet(NULL, 0, false, 1, LOWEST, true));
160 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
218 spdy_util_.ConstructSpdyGet(NULL, 0, false, 1, LOWEST, true));
220 spdy_util_.ConstructSpdyGet(NULL, 0, false, 3, LOWEST, true));
226 spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
228 spdy_util_.ConstructSpdyBodyFrame(1, "", 0, true));
230 spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 3));
232 spdy_util_.ConstructSpdyBodyFrame(3, "", 0, true))
    [all...]
spdy_stream_unittest.cc 49 : spdy_util_(GetParam()),
101 SpdyTestUtil spdy_util_; member in class:net::test::__anon9405::SpdyStreamTest
125 spdy_util_.ConstructSpdyPost(
130 spdy_util_.ConstructSpdyPostSynReply(NULL, 0));
134 spdy_util_.ConstructSpdyBodyFrame(1, kPostBody, kPostBodyLength, false));
138 spdy_util_.ConstructSpdyBodyFrame(1, kPostBody, kPostBodyLength, false));
163 spdy_util_.ConstructPostHeaderBlock(kStreamUrl, kPostBodyLength));
172 EXPECT_EQ("200", delegate.GetResponseHeaderValue(spdy_util_.GetStatusKey()));
174 delegate.GetResponseHeaderValue(spdy_util_.GetVersionKey()));
207 spdy_util_.AddUrlToHeaderBlock(kStreamUrl, &response)
    [all...]
spdy_websocket_stream_unittest.cc 190 : spdy_util_(GetParam()),
218 request_frame_.reset(spdy_util_.ConstructSpdyWebSocketSynStream(
225 spdy_util_.ConstructSpdyWebSocketSynReply(stream_id_));
227 message_frame_.reset(spdy_util_.ConstructSpdyWebSocketDataFrame(
233 closing_frame_.reset(spdy_util_.ConstructSpdyWebSocketDataFrame(
252 spdy_util_.SetHeader("path", "/echo", headers.get());
253 spdy_util_.SetHeader("host", "example.com", headers.get());
254 spdy_util_.SetHeader("version", "WebSocket/13", headers.get());
255 spdy_util_.SetHeader("scheme", "ws", headers.get());
256 spdy_util_.SetHeader("origin", "http://example.com/wsdemo", headers.get())
260 SpdyWebSocketTestUtil spdy_util_; member in class:net::SpdyWebSocketStreamTest
    [all...]
spdy_proxy_client_socket_unittest.cc 115 SpdyTestUtil spdy_util_; member in class:net::SpdyProxyClientSocketTest
148 : spdy_util_(GetParam()),
153 framer_(spdy_util_.spdy_version(), false),
322 LOWEST, spdy_util_.spdy_version()),
331 bool spdy2 = spdy_util_.is_spdy2();
339 return spdy_util_.ConstructSpdyFrame(
352 LOWEST, spdy_util_.spdy_version()),
361 bool spdy2 = spdy_util_.is_spdy2();
370 return spdy_util_.ConstructSpdyFrame(
376 bool spdy2 = spdy_util_.is_spdy2()
    [all...]
spdy_session_unittest.cc 104 spdy_util_(GetParam()),
172 SpdyTestUtil spdy_util_; member in class:net::SpdySessionTest
293 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1));
309 EXPECT_EQ(spdy_util_.spdy_version(), session->GetProtocolVersion());
327 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1));
354 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1));
360 spdy_util_.ConstructSpdyGet(NULL, 0, false, 1, MEDIUM, true));
362 spdy_util_.ConstructSpdyGet(NULL, 0, false, 3, MEDIUM, true));
380 EXPECT_EQ(spdy_util_.spdy_version(), session->GetProtocolVersion());
396 spdy_util_.ConstructGetHeaderBlock(url.spec()))
    [all...]
spdy_network_transaction_unittest.cc 82 SpdyNetworkTransactionTest() : spdy_util_(GetParam().protocol) {
660 SpdyTestUtil spdy_util_; member in class:net::SpdyNetworkTransactionTest
713 spdy_util_.ConstructSpdyGet(NULL, 0, false, 1, LOWEST, true));
716 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
717 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true));
740 spdy_util_.ConstructSpdyGet(NULL, 0, false, 1, p, true));
744 EXPECT_TRUE(GetSpdyPriority(spdy_util_.spdy_version(), *req, &spdy_prio));
748 if (spdy_util_.spdy_version() < SPDY3) {
788 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
789 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true))
    [all...]
  /external/chromium_org/net/websockets/
websocket_handshake_handler_spdy_test.cc 23 WebSocketHandshakeHandlerSpdyTest() : spdy_util_(GetParam()) {}
25 SpdyWebSocketTestUtil spdy_util_; member in class:net::__anon9618::WebSocketHandshakeHandlerSpdyTest
59 spdy_util_.spdy_version()));
61 EXPECT_EQ(url.path(), spdy_util_.GetHeader(headers, "path"));
62 EXPECT_TRUE(spdy_util_.GetHeader(headers, "upgrade").empty());
63 EXPECT_TRUE(spdy_util_.GetHeader(headers, "Upgrade").empty());
64 EXPECT_TRUE(spdy_util_.GetHeader(headers, "connection").empty());
65 EXPECT_TRUE(spdy_util_.GetHeader(headers, "Connection").empty());
66 EXPECT_TRUE(spdy_util_.GetHeader(headers, "Sec-WebSocket-Key").empty());
67 EXPECT_TRUE(spdy_util_.GetHeader(headers, "sec-websocket-key").empty())
    [all...]
websocket_job_test.cc 310 WebSocketJobTest() : spdy_util_(GetParam()) {}
437 SpdyWebSocketTestUtil spdy_util_; member in class:net::WebSocketJobTest
880 spdy_util_.SetHeader("path", "/demo", request_headers.get());
881 spdy_util_.SetHeader("version", "WebSocket/13", request_headers.get());
882 spdy_util_.SetHeader("scheme", "ws", request_headers.get());
883 spdy_util_.SetHeader("host", "example.com", request_headers.get());
884 spdy_util_.SetHeader("origin", "http://example.com", request_headers.get());
885 spdy_util_.SetHeader("sec-websocket-protocol", "sample",
889 spdy_util_.SetHeader("status", "101 Switching Protocols",
891 spdy_util_.SetHeader("sec-websocket-protocol", "sample"
    [all...]
  /external/chromium_org/net/http/
http_proxy_client_socket_pool_unittest.cc 90 spdy_util_(GetParam().protocol),
224 SpdyTestUtil spdy_util_; member in class:net::__anon9148::HttpProxyClientSocketPoolTest
295 spdy_util_.ConstructSpdyConnect(NULL, 0, 1, LOW));
297 spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
303 spdy_util_.GetStatusKey(), "407 Proxy Authentication Required",
304 spdy_util_.GetVersionKey(), "HTTP/1.1",
308 spdy_util_.ConstructSpdyControlFrame(NULL,
392 spdy_util_.ConstructSpdyConnect(kAuthHeaders, kAuthHeadersSize, 1, LOW));
396 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
430 spdy_util_.ConstructSpdyConnect(kAuthHeaders, kAuthHeadersSize
    [all...]
http_network_transaction_unittest.cc 235 : spdy_util_(GetParam()),
378 SpdyTestUtil spdy_util_; member in class:net::HttpNetworkTransactionTest
    [all...]

Completed in 99 milliseconds