Searched refs:SpdyHeaderBlock (Results 1 - 25 of 75) sorted by relevance

123

/external/chromium_org/net/spdy/
H A Dspdy_header_block.h18 typedef std::map<std::string, std::string> SpdyHeaderBlock; typedef in namespace:net
20 // Converts a SpdyHeaderBlock into NetLog event parameters. Caller takes
23 const SpdyHeaderBlock* headers,
32 SpdyHeaderBlock* headers);
H A Dspdy_header_block_unittest.cc17 SpdyHeaderBlock headers;
24 SpdyHeaderBlock headers2;
H A Dspdy_http_utils.h22 // Convert a SpdyHeaderBlock into an HttpResponseInfo.
23 // |headers| input parameter with the SpdyHeaderBlock.
25 // Returns true if successfully converted. False if the SpdyHeaderBlock is
27 bool SpdyHeadersToHttpResponse(const SpdyHeaderBlock& headers,
31 // Create a SpdyHeaderBlock from HttpRequestInfo and HttpRequestHeaders.
37 SpdyHeaderBlock* headers);
39 // Create a SpdyHeaderBlock from HttpResponseHeaders.
43 SpdyHeaderBlock* headers);
47 NET_EXPORT_PRIVATE GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers,
H A Dspdy_websocket_test_util.cc17 std::string SpdyWebSocketTestUtil::GetHeader(const SpdyHeaderBlock& headers,
19 SpdyHeaderBlock::const_iterator it = headers.find(GetHeaderKey(key));
26 SpdyHeaderBlock* headers) const {
35 scoped_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock());
47 SpdyHeaderBlock block;
53 scoped_ptr<SpdyHeaderBlock> headers,
61 scoped_ptr<SpdyHeaderBlock> headers,
71 scoped_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock());
[all...]
H A Dspdy_websocket_test_util.h21 std::string GetHeader(const SpdyHeaderBlock& headers,
28 SpdyHeaderBlock* headers) const;
43 scoped_ptr<SpdyHeaderBlock> headers,
49 scoped_ptr<SpdyHeaderBlock> headers,
H A Dspdy_header_block.cc13 const SpdyHeaderBlock* headers,
17 for (SpdyHeaderBlock::const_iterator it = headers->begin();
30 SpdyHeaderBlock* headers) {
H A Dspdy_websocket_stream.h46 const SpdyHeaderBlock& response_headers) = 0;
73 int SendRequest(scoped_ptr<SpdyHeaderBlock> headers);
80 const SpdyHeaderBlock& response_headers) OVERRIDE;
H A Dspdy_stream_test_util.h31 const SpdyHeaderBlock& response_headers) OVERRIDE;
52 const SpdyHeaderBlock& response_headers) OVERRIDE;
83 SpdyHeaderBlock response_headers_;
104 const SpdyHeaderBlock& response_headers) OVERRIDE;
130 const SpdyHeaderBlock& response_headers) OVERRIDE;
H A Dbuffered_spdy_framer_unittest.cc46 const SpdyHeaderBlock& headers) OVERRIDE {
55 const SpdyHeaderBlock& headers) OVERRIDE {
64 const SpdyHeaderBlock& headers) OVERRIDE {
119 const SpdyHeaderBlock& headers) OVERRIDE {
170 SpdyHeaderBlock headers_;
180 bool CompareHeaderBlocks(const SpdyHeaderBlock* expected,
181 const SpdyHeaderBlock* actual) {
187 for (SpdyHeaderBlock::const_iterator it = expected->begin();
190 SpdyHeaderBlock::const_iterator it2 = actual->find(it->first);
237 SpdyHeaderBlock header
[all...]
H A Dspdy_stream.h130 const SpdyHeaderBlock& response_headers) = 0;
290 int OnInitialResponseHeadersReceived(const SpdyHeaderBlock& response_headers,
299 const SpdyHeaderBlock& additional_response_headers);
303 void OnPushPromiseHeadersReceived(const SpdyHeaderBlock& headers);
363 int SendRequestHeaders(scoped_ptr<SpdyHeaderBlock> request_headers,
480 scoped_ptr<SpdyHeaderBlock> header_block);
491 int MergeWithResponseHeaders(const SpdyHeaderBlock& new_response_headers);
518 scoped_ptr<SpdyHeaderBlock> request_headers_;
535 SpdyHeaderBlock response_headers_;
H A Dspdy_test_util_common.h84 SpdyHeaderBlock* headers);
307 SpdyHeaderBlock* headers) const;
309 scoped_ptr<SpdyHeaderBlock> ConstructGetHeaderBlock(
311 scoped_ptr<SpdyHeaderBlock> ConstructGetHeaderBlockForProxy(
313 scoped_ptr<SpdyHeaderBlock> ConstructHeadHeaderBlock(
316 scoped_ptr<SpdyHeaderBlock> ConstructPostHeaderBlock(
319 scoped_ptr<SpdyHeaderBlock> ConstructPutHeaderBlock(
328 scoped_ptr<SpdyHeaderBlock> headers) const;
342 scoped_ptr<SpdyHeaderBlock> headers,
369 std::string ConstructSpdyReplyString(const SpdyHeaderBlock
[all...]
H A Dbuffered_spdy_framer.h43 const SpdyHeaderBlock& headers) = 0;
48 const SpdyHeaderBlock& headers) = 0;
53 const SpdyHeaderBlock& headers) = 0;
104 const SpdyHeaderBlock& headers) = 0;
186 const SpdyHeaderBlock* headers);
189 const SpdyHeaderBlock* headers);
199 const SpdyHeaderBlock* headers);
209 const SpdyHeaderBlock* headers);
H A Dspdy_http_utils.cc27 SpdyHeaderBlock* headers) {
37 bool SpdyHeadersToHttpResponse(const SpdyHeaderBlock& headers,
47 SpdyHeaderBlock::const_iterator it;
104 SpdyHeaderBlock* headers) {
142 SpdyHeaderBlock* headers) {
196 GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers,
202 SpdyHeaderBlock::const_iterator it;
217 SpdyHeaderBlock::const_iterator it;
H A Dspdy_stream_test_util.cc28 const SpdyHeaderBlock& response_headers) {
59 const SpdyHeaderBlock& response_headers) {
99 SpdyHeaderBlock::const_iterator it = response_headers_.find(name);
120 const SpdyHeaderBlock& response_headers) {
154 const SpdyHeaderBlock& response_headers) {
H A Dspdy_test_util_common.cc118 SpdyHeaderBlock* headers) {
225 const SpdyHeaderBlock& headers) OVERRIDE {
230 const SpdyHeaderBlock& headers) OVERRIDE {}
233 const SpdyHeaderBlock& headers) OVERRIDE {}
253 const SpdyHeaderBlock& headers) OVERRIDE {}
719 SpdyHeaderBlock* headers) const {
731 scoped_ptr<SpdyHeaderBlock> SpdyTestUtil::ConstructGetHeaderBlock(
736 scoped_ptr<SpdyHeaderBlock> SpdyTestUtil::ConstructGetHeaderBlockForProxy(
738 scoped_ptr<SpdyHeaderBlock> headers(ConstructGetHeaderBlock(url));
744 scoped_ptr<SpdyHeaderBlock> SpdyTestUti
[all...]
/external/chromium_org/net/tools/quic/
H A Dspdy_utils.h26 static bool FillBalsaRequestHeaders(const SpdyHeaderBlock& header_block,
29 static bool FillBalsaResponseHeaders(const SpdyHeaderBlock& header_block,
32 static SpdyHeaderBlock RequestHeadersToSpdyHeaders(
35 static SpdyHeaderBlock ResponseHeadersToSpdyHeaders(
39 const SpdyHeaderBlock& headers);
H A Dspdy_utils.cc34 SpdyHeaderBlock* block,
50 SpdyHeaderBlock::iterator it = block->find(name);
65 SpdyHeaderBlock* block) {
87 SpdyHeaderBlock* block) {
100 SpdyHeaderBlock SpdyUtils::RequestHeadersToSpdyHeaders(
127 SpdyHeaderBlock block;
138 SpdyHeaderBlock block = RequestHeadersToSpdyHeaders(request_headers);
143 SpdyHeaderBlock SpdyUtils::ResponseHeadersToSpdyHeaders(
145 SpdyHeaderBlock block;
153 SpdyHeaderBlock bloc
[all...]
/external/chromium_org/net/quic/
H A Dspdy_utils.h20 const SpdyHeaderBlock& headers);
H A Dquic_http_utils.h22 // Converts a SpdyHeaderBlock and priority into NetLog event parameters. Caller
26 const SpdyHeaderBlock* headers,
H A Dspdy_utils.cc17 string SpdyUtils::SerializeUncompressedHeaders(const SpdyHeaderBlock& headers) {
H A Dquic_http_utils.cc25 const SpdyHeaderBlock* headers,
H A Dquic_headers_stream.h32 const SpdyHeaderBlock& headers,
H A Dquic_spdy_server_stream.h53 SpdyHeaderBlock headers_;
/external/chromium_org/net/quic/test_tools/
H A Dquic_test_packet_maker.h60 const SpdyHeaderBlock& headers);
66 const SpdyHeaderBlock& headers);
68 SpdyHeaderBlock GetRequestHeaders(const std::string& method,
71 SpdyHeaderBlock GetResponseHeaders(const std::string& status);
/external/chromium_org/net/websockets/
H A Dwebsocket_handshake_handler.h52 // Gets request as SpdyHeaderBlock.
55 SpdyHeaderBlock* headers,
90 // Parses WebSocket handshake response as SpdyHeaderBlock.
91 bool ParseResponseHeaderBlock(const SpdyHeaderBlock& headers,

Completed in 255 milliseconds

123