/external/chromium/net/http/ |
D | http_request_headers_unittest.cc | 13 TEST(HttpRequestHeaders, HasHeader) { in TEST() argument 16 EXPECT_TRUE(headers.HasHeader("foo")); in TEST() 17 EXPECT_TRUE(headers.HasHeader("Foo")); in TEST() 18 EXPECT_FALSE(headers.HasHeader("Fo")); in TEST() 21 EXPECT_TRUE(headers_ref.HasHeader("foo")); in TEST() 22 EXPECT_TRUE(headers_ref.HasHeader("Foo")); in TEST() 23 EXPECT_FALSE(headers_ref.HasHeader("Fo")); in TEST()
|
D | http_request_headers.h | 84 bool HasHeader(const base::StringPiece& key) const { in HasHeader() function
|
D | http_util_unittest.cc | 17 TEST(HttpUtilTest, HasHeader) { in TEST() argument 32 bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name); in TEST()
|
D | http_response_headers.h | 163 bool HasHeader(const std::string& name) const;
|
D | http_util.h | 70 static bool HasHeader(const std::string& headers, const char* name);
|
D | http_util.cc | 282 bool HttpUtil::HasHeader(const std::string& headers, const char* name) { in HasHeader() function in net::HttpUtil 619 if (net::HttpUtil::HasHeader(*headers, header_name)) in AppendHeaderIfMissing()
|
/external/chromium_org/net/http/ |
D | http_request_headers_unittest.cc | 15 TEST(HttpRequestHeaders, HasHeader) { in TEST() argument 18 EXPECT_TRUE(headers.HasHeader("foo")); in TEST() 19 EXPECT_TRUE(headers.HasHeader("Foo")); in TEST() 20 EXPECT_FALSE(headers.HasHeader("Fo")); in TEST() 23 EXPECT_TRUE(headers_ref.HasHeader("foo")); in TEST() 24 EXPECT_TRUE(headers_ref.HasHeader("Foo")); in TEST() 25 EXPECT_FALSE(headers_ref.HasHeader("Fo")); in TEST()
|
D | http_request_headers.h | 87 bool HasHeader(const base::StringPiece& key) const { in HasHeader() function
|
D | http_util_unittest.cc | 103 TEST(HttpUtilTest, HasHeader) { in TEST() argument 118 bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name); in TEST()
|
D | http_response_headers.h | 168 bool HasHeader(const base::StringPiece& name) const;
|
D | http_util.h | 72 static bool HasHeader(const std::string& headers, const char* name);
|
/external/chromium_org/net/websockets/ |
D | websocket_handshake_handler_test.cc | 192 EXPECT_FALSE(request_info.extra_headers.HasHeader("Upgrade")); in TEST() 193 EXPECT_FALSE(request_info.extra_headers.HasHeader("Connection")); in TEST() 194 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key")); in TEST() 219 EXPECT_FALSE(response_info.headers->HasHeader("Upgrade")); in TEST() 220 EXPECT_FALSE(response_info.headers->HasHeader("Connection")); in TEST() 221 EXPECT_FALSE(response_info.headers->HasHeader("Sec-WebSocket-Accept")); in TEST()
|
D | websocket_basic_handshake_stream.cc | 131 DCHECK(!headers.HasHeader(websockets::kSecWebSocketKey)); in SendRequest() 132 DCHECK(!headers.HasHeader(websockets::kSecWebSocketProtocol)); in SendRequest() 133 DCHECK(!headers.HasHeader(websockets::kSecWebSocketExtensions)); in SendRequest() 134 DCHECK(headers.HasHeader(HttpRequestHeaders::kOrigin)); in SendRequest() 135 DCHECK(headers.HasHeader(websockets::kUpgrade)); in SendRequest() 136 DCHECK(headers.HasHeader(HttpRequestHeaders::kConnection)); in SendRequest() 137 DCHECK(headers.HasHeader(websockets::kSecWebSocketVersion)); in SendRequest()
|
/external/chromium_org/net/tools/flip_server/ |
D | mem_cache_test.cc | 70 ASSERT_TRUE(hello->headers()->HasHeader("key1")); in TEST_F() 71 ASSERT_TRUE(hello->headers()->HasHeader("key2")); in TEST_F() 72 ASSERT_TRUE(hello->headers()->HasHeader("transfer-encoding")); in TEST_F() 73 ASSERT_TRUE(hello->headers()->HasHeader("connection")); in TEST_F()
|
D | spdy_interface.cc | 446 if (!headers.HasHeader("version")) in SendSynStreamImpl() 448 if (headers.HasHeader("X-Original-Url")) { in SendSynStreamImpl() 458 if (headers.HasHeader("X-Original-Url")) { in SendSynStreamImpl() 589 if (!mci->file_data->headers()->HasHeader("content-encoding")) { in GetOutput() 590 if (mci->file_data->headers()->HasHeader("content-type")) { in GetOutput()
|
D | mem_cache.cc | 185 if (visitor.headers.HasHeader("expires")) { in ReadAndStoreFileContents()
|
/external/chromium/net/websockets/ |
D | websocket_handshake_handler_unittest.cc | 204 EXPECT_FALSE(request_info.extra_headers.HasHeader("Upgrade")); in TEST() 205 EXPECT_FALSE(request_info.extra_headers.HasHeader("Connection")); in TEST() 206 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key1")); in TEST() 207 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key2")); in TEST() 235 EXPECT_FALSE(response_info.headers->HasHeader("Upgrade")); in TEST() 236 EXPECT_FALSE(response_info.headers->HasHeader("Connection")); in TEST()
|
/external/chromium_org/chrome/browser/metrics/variations/ |
D | variations_http_header_provider_unittest.cc | 77 EXPECT_TRUE(headers.HasHeader("X-Client-Data")); in TEST() 95 EXPECT_FALSE(headers.HasHeader("X-Client-Data")); in TEST()
|
/external/chromium_org/net/tools/balsa/ |
D | balsa_headers_test.cc | 247 TEST_F(BalsaHeadersTest, HasHeader) { in TEST_F() argument 250 ASSERT_TRUE(headers_->HasHeader("key1")); in TEST_F() 251 ASSERT_FALSE(headers_->HasHeader("value1")); in TEST_F() 252 ASSERT_FALSE(headers_->HasHeader("key2")); in TEST_F()
|
/external/chromium/net/tools/flip_server/ |
D | spdy_interface.cc | 465 if (!headers.HasHeader("status")) in SendSynStreamImpl() 467 if (!headers.HasHeader("version")) in SendSynStreamImpl() 469 if (headers.HasHeader("X-Original-Url")) { in SendSynStreamImpl() 591 if (!mci->file_data->headers->HasHeader("content-encoding")) { in GetOutput() 592 if (mci->file_data->headers->HasHeader("content-type")) { in GetOutput()
|
D | mem_cache.cc | 188 if (visitor.headers.HasHeader("expires")) { in ReadAndStoreFileContents()
|
/external/chromium_org/chrome/browser/android/ |
D | intercept_download_resource_throttle.cc | 57 if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) || in ProcessDownloadRequest()
|
/external/chromium_org/chrome/browser/signin/ |
D | signin_header_helper.cc | 110 request->response_headers()->HasHeader(kChromeManageAccountsHeader)) { in ProcessMirrorResponseHeaderIfExists()
|
/external/chromium/chrome/browser/automation/ |
D | url_request_automation_job.cc | 416 if (!new_request_headers.HasHeader( in StartAsync() 422 if (!new_request_headers.HasHeader( in StartAsync()
|
/external/chromium_org/net/tools/quic/ |
D | quic_in_memory_cache.cc | 178 if (response_headers.HasHeader("X-Original-Url")) { in Initialize()
|