/external/chromium/net/spdy/ |
spdy_http_utils.cc | 42 std::string raw_headers(version); 43 raw_headers.push_back(' '); 44 raw_headers.append(status); 45 raw_headers.push_back('\0'); 65 raw_headers.append(it->first); 66 raw_headers.push_back(':'); 67 raw_headers.append(tval); 68 raw_headers.push_back('\0'); 73 response->headers = new HttpResponseHeaders(raw_headers);
|
/external/chromium/chrome/browser/net/ |
url_request_slow_download_job.cc | 155 std::string raw_headers; local 158 raw_headers.append( 162 raw_headers.append( 168 raw_headers.append(StringPrintf("Content-Length: %d\n", 174 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1)); 175 info->headers = new net::HttpResponseHeaders(raw_headers);
|
url_request_mock_http_job.cc | 99 std::string raw_headers; local 100 if (!file_util::ReadFileToString(header_file, &raw_headers)) 104 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1)); 105 info->headers = new net::HttpResponseHeaders(raw_headers);
|
/external/chromium/net/http/ |
http_response_headers.h | 41 // Parses the given raw_headers. raw_headers should be formatted thus: 47 // NOTE: For now, raw_headers is not really 'raw' in that this constructor is 52 explicit HttpResponseHeaders(const std::string& raw_headers); 247 const std::string& raw_headers() const { return raw_headers_; } function in class:net::HttpResponseHeaders 299 // Replaces the current headers with the merged version of |raw_headers| and 303 void MergeWithHeaders(const std::string& raw_headers,
|
http_response_headers_unittest.cc | 16 const char* raw_headers; member in struct:__anon5059::TestData 24 const std::string raw_headers; member in struct:__anon5059::ContentTypeTestData 44 std::string raw_headers(test.raw_headers); 45 HeadersToRaw(&raw_headers); 50 new net::HttpResponseHeaders(raw_headers)); 290 const char* raw_headers; member in struct:__anon5060 445 std::string headers = tests[i].raw_headers; 656 std::string headers(tests[i].raw_headers); [all...] |
http_cache_unittest.cc | 965 std::string raw_headers(net::HttpUtil::AssembleRawHeaders(response.data(), 968 new net::HttpResponseHeaders(raw_headers)); 984 void CreateTruncatedEntry(std::string raw_headers, MockHttpCache* cache) { 990 raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), 991 raw_headers.size()); 996 response.headers = new net::HttpResponseHeaders(raw_headers); [all...] |
http_response_headers.cc | 261 void HttpResponseHeaders::MergeWithHeaders(const std::string& raw_headers, 263 std::string new_raw_headers(raw_headers); [all...] |
/external/chromium/net/websockets/ |
websocket_handshake_handler_unittest.cc | 227 std::string raw_headers = local 231 response_info.headers = new HttpResponseHeaders(raw_headers);
|
/external/chromium/chrome/browser/safe_browsing/ |
malware_details_unittest.cc | 57 std::string raw_headers = net::HttpUtil::AssembleRawHeaders( local 59 responseinfo.headers = new net::HttpResponseHeaders(raw_headers);
|
/external/chromium/net/ocsp/ |
nss_ocsp.cc | 243 return response_headers_->raw_headers();
|