/external/chromium_org/net/tools/quic/ |
D | quic_in_memory_cache_test.cc | 53 BalsaHeaders request_headers, response_headers; in AddToCache() local 54 request_headers.SetRequestFirstlineFromStringPieces(method, in AddToCache() 66 cache->GetResponse(request_headers); in AddToCache() 75 cache->AddResponse(request_headers, response_headers, body); in AddToCache() 83 net::BalsaHeaders request_headers; in TEST_F() local 84 CreateRequest("www.google.com", "/bar", &request_headers); in TEST_F() 87 cache->GetResponse(request_headers); in TEST_F() 92 CreateRequest("", "https://www.google.com/bar", &request_headers); in TEST_F() 93 response = cache->GetResponse(request_headers); in TEST_F() 100 net::BalsaHeaders request_headers; in TEST_F() local [all …]
|
D | quic_in_memory_cache.cc | 72 const BalsaHeaders& request_headers) const { in GetResponse() 73 ResponseMap::const_iterator it = responses_.find(GetKey(request_headers)); in GetResponse() 86 BalsaHeaders request_headers, response_headers; in AddSimpleResponse() local 87 request_headers.SetRequestFirstlineFromStringPieces(method, in AddSimpleResponse() 96 AddResponse(request_headers, response_headers, body); in AddSimpleResponse() 99 void QuicInMemoryCache::AddResponse(const BalsaHeaders& request_headers, in AddResponse() argument 102 VLOG(1) << "Adding response for: " << GetKey(request_headers); in AddResponse() 103 if (ContainsKey(responses_, GetKey(request_headers))) { in AddResponse() 110 responses_[GetKey(request_headers)] = new_response; in AddResponse() 117 BalsaHeaders request_headers, response_headers; in AddSpecialResponse() local [all …]
|
D | spdy_utils.cc | 101 const BalsaHeaders& request_headers) { in RequestHeadersToSpdyHeaders() argument 106 string url = request_headers.request_uri().as_string(); in RequestHeadersToSpdyHeaders() 111 if (request_headers.request_method() == "CONNECT") { in RequestHeadersToSpdyHeaders() 129 request_headers, scheme, host_and_port, path, &block); in RequestHeadersToSpdyHeaders() 137 string SpdyUtils::SerializeRequestHeaders(const BalsaHeaders& request_headers) { in SerializeRequestHeaders() argument 138 SpdyHeaderBlock block = RequestHeadersToSpdyHeaders(request_headers); in SerializeRequestHeaders() 178 BalsaHeaders* request_headers) { in FillBalsaRequestHeaders() argument 194 request_headers->SetRequestUri(url); in FillBalsaRequestHeaders() 195 request_headers->SetRequestMethod(method_it->second); in FillBalsaRequestHeaders() 203 request_headers->SetContentLength(content_length); in FillBalsaRequestHeaders() [all …]
|
D | quic_spdy_server_stream_test.cc | 78 BalsaHeaders request_headers; in QuicSpdyServerStreamTest() local 79 request_headers.SetRequestFirstlineFromStringPieces( in QuicSpdyServerStreamTest() 81 request_headers.ReplaceOrAppendHeader("content-length", "11"); in QuicSpdyServerStreamTest() 83 headers_string_ = SpdyUtils::SerializeRequestHeaders(request_headers); in QuicSpdyServerStreamTest() 103 BalsaHeaders request_headers, response_headers; in SetUp() local 105 request_headers.SetRequestFirstlineFromStringPieces( in SetUp() 117 cache->GetResponse(request_headers); in SetUp() 127 cache->AddResponse(request_headers, response_headers, body); in SetUp() 205 BalsaHeaders* request_headers = stream_->mutable_headers(); in TEST_P() local 206 request_headers->SetRequestFirstlineFromStringPieces( in TEST_P()
|
D | spdy_utils.h | 21 const BalsaHeaders& request_headers); 27 BalsaHeaders* request_headers); 33 const BalsaHeaders& request_headers);
|
D | quic_in_memory_cache.h | 74 const Response* GetResponse(const BalsaHeaders& request_headers) const; 86 void AddResponse(const BalsaHeaders& request_headers,
|
/external/chromium_org/content/browser/devtools/ |
D | devtools_netlog_observer.cc | 90 net::HttpRequestHeaders request_headers; in OnAddURLRequestEntry() local 93 &request_headers, in OnAddURLRequestEntry() 100 info->request_headers.clear(); in OnAddURLRequestEntry() 102 for (net::HttpRequestHeaders::Iterator it(request_headers); in OnAddURLRequestEntry() 104 info->request_headers.push_back(std::make_pair(it.name(), it.value())); in OnAddURLRequestEntry() 106 info->request_headers_text = request_line + request_headers.ToString(); in OnAddURLRequestEntry() 111 net::SpdyHeaderBlock request_headers; in OnAddURLRequestEntry() local 114 &request_headers)) { in OnAddURLRequestEntry() 120 info->request_headers.clear(); in OnAddURLRequestEntry() 122 for (net::SpdyHeaderBlock::const_iterator it = request_headers.begin(); in OnAddURLRequestEntry() [all …]
|
/external/chromium_org/net/http/ |
D | proxy_client_socket.cc | 26 HttpRequestHeaders* request_headers) { in BuildTunnelRequest() argument 32 request_headers->SetHeader(HttpRequestHeaders::kHost, in BuildTunnelRequest() 34 request_headers->SetHeader(HttpRequestHeaders::kProxyConnection, in BuildTunnelRequest() 40 request_headers->SetHeader(HttpRequestHeaders::kUserAgent, user_agent); in BuildTunnelRequest() 42 request_headers->MergeFrom(auth_headers); in BuildTunnelRequest()
|
D | http_stream_parser_unittest.cc | 251 HttpRequestHeaders request_headers; in TEST() local 252 request_headers.SetHeader("Host", "localhost"); in TEST() 253 request_headers.SetHeader("Transfer-Encoding", "chunked"); in TEST() 254 request_headers.SetHeader("Connection", "keep-alive"); in TEST() 259 rv = parser.SendRequest("GET /one.html HTTP/1.1\r\n", request_headers, in TEST() 409 HttpRequestHeaders request_headers; in TEST() local 411 rv = parser.SendRequest("GET / HTTP/1.1\r\n", request_headers, in TEST() 474 HttpRequestHeaders request_headers; in TEST() local 476 rv = parser.SendRequest("GET / HTTP/1.1\r\n", request_headers, in TEST() 848 scoped_ptr<HttpRequestHeaders> request_headers(new HttpRequestHeaders()); in TEST() local [all …]
|
D | http_cache_unittest.cc | 876 transaction.request_headers = "Foo: bar\r\n"; in TEST() 898 transaction.request_headers = "Foo: bar\r\n"; in TEST() 907 transaction.request_headers = "Foo: none\r\n"; in TEST() 1147 transaction.request_headers = "pragma: no-cache\r\n"; in TEST() 1164 transaction.request_headers = "cache-control: no-cache\r\n"; in TEST() 1211 transaction.request_headers = "cache-control: max-age=0\r\n"; in TEST() 1234 transaction.request_headers = EXTRA_HEADER; in TEST() 1257 transaction.request_headers = "If-None-Match: \"foopy\"\r\n" in TEST() 2081 transaction.request_headers = "Foo: bar\r\n"; in TEST() 2114 transaction.request_headers = "Foo: bar\r\n"; in TEST() [all …]
|
D | http_vary_data_unittest.cc | 20 void Init(const std::string& request_headers, in Init() 27 request.extra_headers.AddHeadersFromString(request_headers); in Init()
|
D | http_auth_controller_unittest.cc | 170 HttpRequestHeaders request_headers; in TEST() local 221 controller->AddAuthorizationHeader(&request_headers); in TEST()
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
D | data_reduction_proxy_auth_request_handler.cc | 124 net::HttpRequestHeaders* request_headers) { in MaybeAddRequestHeader() argument 132 request_headers); in MaybeAddRequestHeader() 137 net::HttpRequestHeaders* request_headers) { in MaybeAddProxyTunnelRequestHandler() argument 139 MaybeAddRequestHeaderImpl(proxy_server, true, request_headers); in MaybeAddProxyTunnelRequestHandler() 220 net::HttpRequestHeaders* request_headers) { in MaybeAddRequestHeaderImpl() argument 228 AddAuthorizationHeader(request_headers); in MaybeAddRequestHeaderImpl()
|
D | data_reduction_proxy_auth_request_handler.h | 57 net::HttpRequestHeaders* request_headers); 65 net::HttpRequestHeaders* request_headers); 131 net::HttpRequestHeaders* request_headers);
|
D | data_reduction_proxy_protocol.cc | 187 const net::HttpRequestHeaders& request_headers = in OverrideResponseAsRedirect() local 189 if (request_headers.GetHeader("Origin", &http_origin)) { in OverrideResponseAsRedirect()
|
/external/chromium_org/tools/chrome_proxy/integration_tests/ |
D | network_metrics_unittest.py | 30 served_from_cache=False, request_headers=None, status=200): argument 31 if not request_headers: 32 request_headers = {} 40 'requestHeaders': request_headers,
|
/external/chromium_org/net/websockets/ |
D | websocket_stream_test.cc | 459 std::vector<HeaderKeyValuePair> request_headers = in TEST_F() local 467 ASSERT_EQ(12u, request_headers.size()); in TEST_F() 468 EXPECT_EQ(HeaderKeyValuePair("Host", "localhost"), request_headers[0]); in TEST_F() 469 EXPECT_EQ(HeaderKeyValuePair("Connection", "Upgrade"), request_headers[1]); in TEST_F() 470 EXPECT_EQ(HeaderKeyValuePair("Pragma", "no-cache"), request_headers[2]); in TEST_F() 472 request_headers[3]); in TEST_F() 473 EXPECT_EQ(HeaderKeyValuePair("Upgrade", "websocket"), request_headers[4]); in TEST_F() 475 request_headers[5]); in TEST_F() 477 request_headers[6]); in TEST_F() 478 EXPECT_EQ(HeaderKeyValuePair("User-Agent", ""), request_headers[7]); in TEST_F() [all …]
|
/external/chromium_org/native_client_sdk/src/examples/demo/drive/ |
D | drive.cc | 96 std::string request_headers; member 109 url_request.SetHeaders(params.request_headers); in ReadUrl() 185 AddAuthTokenHeader(&p.request_headers, auth_token); in ListFiles() 281 AddAuthTokenHeader(&p.request_headers, auth_token); in InsertFile() 282 AddHeader(&p.request_headers, in InsertFile() 525 AddAuthTokenHeader(&p.request_headers, auth_token_); in ThreadDownloadFile()
|
/external/chromium_org/net/url_request/ |
D | url_request_redirect_job.cc | 94 const net::HttpRequestHeaders& request_headers = in StartAsync() local 96 if (request_headers.GetHeader("Origin", &http_origin)) { in StartAsync()
|
/external/chromium_org/net/spdy/ |
D | spdy_proxy_client_socket.cc | 358 HttpRequestHeaders request_headers; in DoSendRequest() local 360 &request_headers); in DoSendRequest() 365 base::Unretained(&request_headers), in DoSendRequest() 368 request_.extra_headers.MergeFrom(request_headers); in DoSendRequest() 370 CreateSpdyHeadersFromHttpRequest(request_, request_headers, in DoSendRequest()
|
D | hpack_huffman_aggregator.cc | 46 const HttpRequestHeaders& request_headers, in AggregateTransactionCharacterCounts() argument 61 request, request_headers, SPDY4, false, &headers); in AggregateTransactionCharacterCounts()
|
D | spdy_http_utils.h | 34 const HttpRequestHeaders& request_headers,
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/ |
D | OAuth.php | 258 $request_headers = OAuthUtil::get_headers(); 266 && isset($request_headers['Content-Type']) 267 && strstr($request_headers['Content-Type'], 278 …if (isset($request_headers['Authorization']) && substr($request_headers['Authorization'], 0, 6) ==… 280 $request_headers['Authorization']
|
/external/chromium_org/content/public/common/ |
D | resource_devtools_info.h | 25 HeadersVector request_headers; member
|
/external/chromium_org/chrome/browser/devtools/ |
D | devtools_network_controller_unittest.cc | 48 mock_transaction_.request_headers = in DevToolsNetworkControllerHelper() 198 helper.mock_transaction()->request_headers = in TEST()
|