Searched refs:SetHeaderIfMissing (Results 1 - 12 of 12) sorted by relevance

/external/chromium/net/http/
H A Dhttp_request_headers_unittest.cc70 TEST(HttpRequestHeaders, SetHeaderIfMissing) {
72 headers.SetHeaderIfMissing("Foo", "Bar");
74 headers.SetHeaderIfMissing("Foo", "Baz");
H A Dhttp_request_headers.h103 void SetHeaderIfMissing(const base::StringPiece& key,
H A Dhttp_request_headers.cc89 void HttpRequestHeaders::SetHeaderIfMissing(const base::StringPiece& key, function in class:net::HttpRequestHeaders
/external/chromium_org/net/http/
H A Dhttp_request_headers_unittest.cc72 TEST(HttpRequestHeaders, SetHeaderIfMissing) {
74 headers.SetHeaderIfMissing("Foo", "Bar");
76 headers.SetHeaderIfMissing("Foo", "Baz");
H A Dhttp_request_headers.h106 void SetHeaderIfMissing(const base::StringPiece& key,
H A Dhttp_request_headers.cc105 void HttpRequestHeaders::SetHeaderIfMissing(const base::StringPiece& key, function in class:net::HttpRequestHeaders
/external/chromium_org/chrome/browser/metrics/variations/
H A Dvariations_http_header_provider.cc42 headers->SetHeaderIfMissing("X-Chrome-UMA-Enabled", "1");
56 headers->SetHeaderIfMissing("X-Client-Data",
/external/chromium_org/android_webview/browser/net/
H A Daw_network_delegate.cc34 headers->SetHeaderIfMissing(
/external/chromium/net/url_request/
H A Durl_request_http_job.cc402 request_info_.extra_headers.SetHeaderIfMissing(
407 request_info_.extra_headers.SetHeaderIfMissing(
775 request_info_.extra_headers.SetHeaderIfMissing(
H A Durl_request.cc227 extra_request_headers_.SetHeaderIfMissing(name, value);
/external/chromium_org/net/url_request/
H A Durl_request_http_job.cc352 request_info_.extra_headers.SetHeaderIfMissing(
607 request_info_.extra_headers.SetHeaderIfMissing(
H A Durl_request.cc324 extra_request_headers_.SetHeaderIfMissing(name, value);

Completed in 441 milliseconds