Home
last modified time | relevance | path

Searched refs:kHeaders (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/net/server/
Dhttp_server_unittest.cc283 const char* kHeaders[][3] = { in TEST_F() local
293 for (size_t i = 0; i < arraysize(kHeaders); ++i) { in TEST_F()
295 std::string(kHeaders[i][0]) + kHeaders[i][1] + kHeaders[i][2] + "\r\n"; in TEST_F()
302 for (size_t i = 0; i < arraysize(kHeaders); ++i) { in TEST_F()
303 std::string field = base::StringToLowerASCII(std::string(kHeaders[i][0])); in TEST_F()
304 std::string value = kHeaders[i][2]; in TEST_F()
306 ASSERT_EQ(value, GetRequest(0).headers[field]) << kHeaders[i][0]; in TEST_F()
313 const char* kHeaders[][3] = { in TEST_F() local
321 for (size_t i = 0; i < arraysize(kHeaders); ++i) { in TEST_F()
323 std::string(kHeaders[i][0]) + kHeaders[i][1] + kHeaders[i][2] + "\r\n"; in TEST_F()
[all …]
/external/chromium_org/net/url_request/
Durl_request_test_job.cc74 static const char kHeaders[] = in test_headers() local
78 return std::string(kHeaders, arraysize(kHeaders)); in test_headers()
83 static const char kHeaders[] = in test_redirect_headers() local
87 return std::string(kHeaders, arraysize(kHeaders)); in test_redirect_headers()
103 static const char kHeaders[] = in test_error_headers() local
106 return std::string(kHeaders, arraysize(kHeaders)); in test_error_headers()
/external/chromium_org/content/browser/service_worker/
Dservice_worker_browsertest.cc201 const char kHeaders[] = in MaybeInterceptRequest() local
206 std::string headers(kHeaders, arraysize(kHeaders)); in MaybeInterceptRequest()