Searched refs:AddHeaderFromString (Results 1 - 10 of 10) sorted by relevance

/external/chromium/net/http/
H A Dhttp_request_headers_unittest.cc100 TEST(HttpRequestHeaders, AddHeaderFromString) {
102 headers.AddHeaderFromString("Foo: bar");
108 headers.AddHeaderFromString("Foo:bar");
114 headers.AddHeaderFromString("Foo: \t \t bar");
120 headers.AddHeaderFromString("Foo: bar \t \t ");
126 headers.AddHeaderFromString("Foo: \t bar\t ");
132 headers.AddHeaderFromString("Foo:");
138 headers.AddHeaderFromString("Foo: ");
H A Dhttp_request_headers.h119 // AddHeaderFromString() will trim any LWS surrounding the
121 void AddHeaderFromString(const base::StringPiece& header_line);
123 // Same thing as AddHeaderFromString() except that |headers| is a "\r\n"
125 // and call AddHeaderFromString() on each.
H A Dhttp_request_headers.cc102 void HttpRequestHeaders::AddHeaderFromString( function in class:net::HttpRequestHeaders
156 AddHeaderFromString(*it);
/external/chromium_org/net/http/
H A Dhttp_request_headers_unittest.cc102 TEST(HttpRequestHeaders, AddHeaderFromString) {
104 headers.AddHeaderFromString("Foo: bar");
110 headers.AddHeaderFromString("Foo:bar");
116 headers.AddHeaderFromString("Foo: \t \t bar");
122 headers.AddHeaderFromString("Foo: bar \t \t ");
128 headers.AddHeaderFromString("Foo: \t bar\t ");
134 headers.AddHeaderFromString("Foo:");
140 headers.AddHeaderFromString("Foo: ");
H A Dhttp_request_headers.cc118 void HttpRequestHeaders::AddHeaderFromString( function in class:net::HttpRequestHeaders
172 AddHeaderFromString(*it);
242 headers->AddHeaderFromString(header_line);
H A Dhttp_request_headers.h122 // AddHeaderFromString() will trim any LWS surrounding the
124 void AddHeaderFromString(const base::StringPiece& header_line);
126 // Same thing as AddHeaderFromString() except that |headers| is a "\r\n"
128 // and call AddHeaderFromString() on each.
H A Dhttp_cache_unittest.cc398 // will be passed to AddHeaderFromString() which doesn't accept them.
402 // AddHeadersFromString() (_not_ AddHeaderFromString()).
6162 request.extra_headers.AddHeaderFromString(EXTRA_HEADER_LINE);
/external/chromium_org/chrome/browser/extensions/api/web_request/
H A Dweb_request_api_unittest.cc1525 base_headers.AddHeaderFromString("key1: value 1");
1526 base_headers.AddHeaderFromString("key2: value 2");
1551 d1->modified_request_headers.AddHeaderFromString("key2: value 3");
1552 d1->modified_request_headers.AddHeaderFromString("key3: value 3");
1573 d2->modified_request_headers.AddHeaderFromString("key3: value 0");
1574 d2->modified_request_headers.AddHeaderFromString("key4: value 4");
1597 d3->modified_request_headers.AddHeaderFromString("key2: value 3");
1598 d3->modified_request_headers.AddHeaderFromString("key5: value 5");
1621 base_headers.AddHeaderFromString(
/external/chromium_org/net/url_request/
H A Dtest_url_fetcher_factory.cc101 fake_extra_request_headers_.AddHeaderFromString(header_line);
H A Durl_fetcher_core.cc214 extra_request_headers_.AddHeaderFromString(header_line);

Completed in 204 milliseconds