Home
last modified time | relevance | path

Searched refs:response_headers (Results 1 – 25 of 116) sorted by relevance

12345

/external/chromium_org/chrome/browser/captive_portal/
Dtesting_utils.cc16 const std::string& response_headers) { in CreateResponseHeaders() argument
18 net::HttpUtil::AssembleRawHeaders(response_headers.c_str(), in CreateResponseHeaders()
19 response_headers.length()); in CreateResponseHeaders()
49 const char* response_headers) { in CompleteURLFetch() argument
51 DCHECK(!response_headers); in CompleteURLFetch()
56 if (response_headers) { in CompleteURLFetch()
58 CreateResponseHeaders(response_headers)); in CompleteURLFetch()
/external/chromium_org/net/tools/quic/
Dquic_in_memory_cache.cc86 BalsaHeaders request_headers, response_headers; in AddSimpleResponse() local
90 response_headers.SetRequestFirstlineFromStringPieces(version, in AddSimpleResponse()
93 response_headers.AppendHeader("content-length", in AddSimpleResponse()
96 AddResponse(request_headers, response_headers, body); in AddSimpleResponse()
100 const BalsaHeaders& response_headers, in AddResponse() argument
108 new_response->set_headers(response_headers); in AddResponse()
144 BalsaHeaders request_headers, response_headers; in Initialize() local
152 framer.set_balsa_headers(&response_headers); in Initialize()
162 response_headers.DumpToString(&response_headers_str); in Initialize()
178 if (response_headers.HasHeader("X-Original-Url")) { in Initialize()
[all …]
Dspdy_utils.h24 const BalsaHeaders& response_headers);
30 BalsaHeaders* response_headers);
36 const BalsaHeaders& response_headers);
Dquic_in_memory_cache_test.cc53 BalsaHeaders request_headers, response_headers; in AddToCache() local
57 response_headers.SetRequestFirstlineFromStringPieces(version, in AddToCache()
60 response_headers.AppendHeader("content-length", in AddToCache()
70 response_headers.DumpToString(&response_headers_str); in AddToCache()
75 cache->AddResponse(request_headers, response_headers, body); in AddToCache()
Dend_to_end_test.cc288 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
300 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
316 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
324 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
331 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
333 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
351 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
356 EXPECT_EQ(200u, client2->response_headers()->parsed_response_code()); in TEST_P()
368 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
382 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); in TEST_P()
[all …]
Dquic_spdy_server_stream_test.cc106 BalsaHeaders request_headers, response_headers; in SetUp() local
112 response_headers.SetRequestFirstlineFromStringPieces("HTTP/1.1", in SetUp()
115 response_headers.AppendHeader("content-length", in SetUp()
124 response_headers.DumpToString(&response_headers_str); in SetUp()
130 cache->AddResponse(request_headers, response_headers, body); in SetUp()
Dquic_in_memory_cache.h79 const BalsaHeaders& response_headers,
94 std::string GetKey(const BalsaHeaders& response_headers) const;
Dspdy_utils.cc144 const BalsaHeaders& response_headers) { in ResponseHeadersToSpdyHeaders() argument
146 PopulateSpdyResponseHeaderBlock(response_headers, &block); in ResponseHeadersToSpdyHeaders()
152 const BalsaHeaders& response_headers) { in SerializeResponseHeaders() argument
153 SpdyHeaderBlock block = ResponseHeadersToSpdyHeaders(response_headers); in SerializeResponseHeaders()
Dquic_spdy_server_stream.cc114 const BalsaHeaders& response_headers, in SendHeadersAndBody() argument
122 SpdyUtils::ResponseHeadersToSpdyHeaders(response_headers); in SendHeadersAndBody()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dmount_node_http.cc236 StringMap_t response_headers; in GetStat_Locked() local
243 &response_headers); in GetStat_Locked()
248 if (ParseContentLength(response_headers, &entity_length)) { in GetStat_Locked()
359 StringMap_t response_headers; in DownloadToCache() local
366 &response_headers); in DownloadToCache()
371 if (ParseContentLength(response_headers, &content_length)) { in DownloadToCache()
432 StringMap_t response_headers; in DownloadPartial() local
439 &response_headers); in DownloadPartial()
454 if (ParseContentLength(response_headers, &content_length)) { in DownloadPartial()
468 response_headers, &read_start, &read_end, &entity_length)) { in DownloadPartial()
[all …]
/external/chromium_org/net/spdy/
Dspdy_stream_test_util.cc28 const SpdyHeaderBlock& response_headers) { in OnResponseHeadersUpdated() argument
59 const SpdyHeaderBlock& response_headers) { in OnResponseHeadersUpdated() argument
61 response_headers_ = response_headers; in OnResponseHeadersUpdated()
120 const SpdyHeaderBlock& response_headers) { in OnResponseHeadersUpdated() argument
122 StreamDelegateBase::OnResponseHeadersUpdated(response_headers); in OnResponseHeadersUpdated()
Dspdy_stream_test_util.h31 const SpdyHeaderBlock& response_headers) OVERRIDE;
52 const SpdyHeaderBlock& response_headers) OVERRIDE;
104 const SpdyHeaderBlock& response_headers) OVERRIDE;
Dspdy_websocket_stream.h46 const SpdyHeaderBlock& response_headers) = 0;
80 const SpdyHeaderBlock& response_headers) OVERRIDE;
/external/chromium_org/content/browser/devtools/
Ddevtools_netlog_observer.cc146 scoped_refptr<net::HttpResponseHeaders> response_headers; in OnAddURLRequestEntry() local
149 &response_headers)) { in OnAddURLRequestEntry()
153 info->http_status_code = response_headers->response_code(); in OnAddURLRequestEntry()
154 info->http_status_text = response_headers->GetStatusText(); in OnAddURLRequestEntry()
159 info->response_headers.clear(); in OnAddURLRequestEntry()
162 response_headers->EnumerateHeaderLines(&it, &name, &value); ) { in OnAddURLRequestEntry()
163 info->response_headers.push_back(std::make_pair(name, value)); in OnAddURLRequestEntry()
167 response_headers->raw_headers()); in OnAddURLRequestEntry()
/external/chromium_org/net/http/
Dhttp_vary_data.cc22 const HttpResponseHeaders& response_headers) { in Init() argument
37 while (response_headers.EnumerateHeader(&iter, name, &request_header)) { in Init()
55 if (response_headers.IsRedirect(&location)) { in Init()
Dhttp_cache_unittest.cc295 std::string* response_headers) { in RunTransactionTestWithResponse() argument
298 response.headers->GetNormalizedHeaders(response_headers); in RunTransactionTestWithResponse()
304 std::string* response_headers, in RunTransactionTestWithResponseAndGetTiming() argument
312 response.headers->GetNormalizedHeaders(response_headers); in RunTransactionTestWithResponseAndGetTiming()
328 std::string* response_headers, in FastNoStoreHandler() argument
331 *response_headers = "Cache-Control: no-store\n"; in FastNoStoreHandler()
382 std::string* response_headers,
410 std::string* response_headers, in RangeHandler() argument
435 response_headers->assign("Date: Wed, 28 Nov 2007 09:40:09 GMT"); in RangeHandler()
456 response_headers->append(content_range); in RangeHandler()
[all …]
/external/chromium/net/http/
Dhttp_vary_data.cc22 const HttpResponseHeaders& response_headers) { in Init() argument
37 while (response_headers.EnumerateHeader(&iter, name, &request_header)) { in Init()
55 if (response_headers.IsRedirect(&location)) { in Init()
Dhttp_cache_unittest.cc775 std::string* response_headers) { in RunTransactionTestWithResponse() argument
778 response.headers->GetNormalizedHeaders(response_headers); in RunTransactionTestWithResponse()
794 std::string* response_headers, in FastNoStoreHandler() argument
797 *response_headers = "Cache-Control: no-store\n"; in FastNoStoreHandler()
847 std::string* response_headers,
867 std::string* response_headers, in RangeHandler() argument
892 response_headers->assign("Date: Wed, 28 Nov 2007 09:40:09 GMT"); in RangeHandler()
913 response_headers->append(content_range); in RangeHandler()
934 response_headers->replace(response_headers->find("Content-Length:"), in RangeHandler()
1014 trans->response_headers = headers; in AssignTo()
[all …]
/external/chromium/chrome/browser/debugger/
Ddevtools_netlog_observer.cc120 const net::HttpResponseHeaders& response_headers = in OnAddURLRequestEntry() local
122 info->http_status_code = response_headers.response_code(); in OnAddURLRequestEntry()
123 info->http_status_text = response_headers.GetStatusText(); in OnAddURLRequestEntry()
126 response_headers.EnumerateHeaderLines(&it, &name, &value); ) { in OnAddURLRequestEntry()
127 info->response_headers.push_back(std::make_pair(name, value)); in OnAddURLRequestEntry()
/external/chromium_org/chrome/browser/prerender/
Dprerender_util.cc170 const net::HttpResponseHeaders* response_headers) { in GatherPagespeedData() argument
179 if (!response_headers) in GatherPagespeedData()
185 while (response_headers->EnumerateHeaderLines(&iter, &name, &value)) { in GatherPagespeedData()
241 request->response_headers()); in URLRequestResponseStarted()
/external/chromium_org/android_webview/browser/renderer_host/
Daw_resource_dispatcher_host_delegate.cc262 net::HttpResponseHeaders* response_headers = request->response_headers(); in DownloadStarting() local
263 if (response_headers) { in DownloadStarting()
264 response_headers->GetNormalizedHeader("content-disposition", in DownloadStarting()
266 response_headers->GetMimeType(&mime_type); in DownloadStarting()
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/
Ddevtools.js40 var response_headers = har_entry.response.headers;
44 for (var i = 0; i < response_headers.length; ++i) {
45 var header = response_headers[i];
/external/chromium_org/content/browser/download/
Ddownload_resource_handler.cc169 const net::HttpResponseHeaders* headers = request()->response_headers(); in OnResponseStarted()
333 request()->response_headers()) { in OnResponseCompleted()
371 if (request()->response_headers()) { in OnResponseCompleted()
372 request()->response_headers()->EnumerateHeader( in OnResponseCompleted()
375 request()->response_headers()->HasStrongValidators(); in OnResponseCompleted()
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate.cc615 net::HttpResponseHeaders* response_headers = request->response_headers(); in OnResponseStarted() local
616 if (!response_headers->HasHeaderValue("x-frame-options", "deny") && in OnResponseStarted()
617 !response_headers->HasHeaderValue("x-frame-options", "sameorigin")) { in OnResponseStarted()
618 response_headers->RemoveHeader("x-frame-options"); in OnResponseStarted()
619 response_headers->AddHeader("x-frame-options: sameorigin"); in OnResponseStarted()
/external/chromium/android/autofill/
Durl_fetcher_proxy.h124 net::HttpResponseHeaders* response_headers() const {return real_fetcher_->response_headers();};

12345