HasHeader 53 chrome/browser/android/intercept_download_resource_throttle.cc if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) || HasHeader 303 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc if (!new_headers->HasHeader(i.name())) { HasHeader 1565 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_FALSE(headers1.HasHeader("key1")); HasHeader 1587 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_FALSE(headers2.HasHeader("key1")); HasHeader 1592 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_FALSE(headers2.HasHeader("key4")); HasHeader 1611 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_FALSE(headers3.HasHeader("key1")); HasHeader 1677 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_TRUE(headers1.HasHeader("Cookie")); HasHeader 1920 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_TRUE(new_headers1->HasHeader("Foo")); HasHeader 104 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc EXPECT_TRUE(headers.HasHeader("X-Client-Data")); HasHeader 125 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc EXPECT_FALSE(headers.HasHeader("X-Client-Data")); HasHeader 131 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc EXPECT_FALSE(headers.HasHeader("X-Client-Data")); HasHeader 648 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc if (response_headers->HasHeader("x-frame-options")) HasHeader 110 chrome/browser/signin/signin_header_helper.cc request->response_headers()->HasHeader(kChromeManageAccountsHeader)) { HasHeader 114 content/renderer/media/crypto/proxy_decryptor.cc if (HasHeader(init_data, init_data_length, kPrefixedApiLoadSessionHeader)) { HasHeader 124 content/renderer/media/crypto/proxy_decryptor.cc if (HasHeader( HasHeader 115 net/cronet/android/url_request_peer.cc if (headers_.HasHeader(net::HttpRequestHeaders::kUserAgent)) { HasHeader 1713 net/http/http_cache_transaction.cc if (request_->extra_headers.HasHeader(HttpRequestHeaders::kRange)) HasHeader 328 net/http/http_cache_unittest.cc EXPECT_TRUE(request->extra_headers.HasHeader(kExtraHeaderKey)); HasHeader 330 net/http/http_cache_unittest.cc if (request->extra_headers.HasHeader("X-Require-Mock-Auth") && HasHeader 331 net/http/http_cache_unittest.cc !request->extra_headers.HasHeader("Authorization")) { HasHeader 374 net/http/http_cache_unittest.cc if (!request->extra_headers.HasHeader("If-None-Match") || modified_) { HasHeader 1225 net/http/http_cache_unittest.cc EXPECT_TRUE(request->extra_headers.HasHeader(kExtraHeaderKey)); HasHeader 1970 net/http/http_cache_unittest.cc request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); HasHeader 2029 net/http/http_cache_unittest.cc if (request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)) HasHeader 2032 net/http/http_cache_unittest.cc if (request->extra_headers.HasHeader( HasHeader 2154 net/http/http_cache_unittest.cc request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); HasHeader 2210 net/http/http_cache_unittest.cc request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); HasHeader 886 net/http/http_network_transaction.cc request_headers_.HasHeader(HttpRequestHeaders::kAuthorization) || HasHeader 887 net/http/http_network_transaction.cc request_headers_.HasHeader(HttpRequestHeaders::kProxyAuthorization); HasHeader 11918 net/http/http_network_transaction_unittest.cc EXPECT_TRUE(request_headers.HasHeader("Host")); HasHeader 11954 net/http/http_network_transaction_unittest.cc EXPECT_TRUE(request_headers.HasHeader("Host")); HasHeader 11992 net/http/http_network_transaction_unittest.cc EXPECT_TRUE(request_headers.HasHeader("Host")); HasHeader 12030 net/http/http_network_transaction_unittest.cc EXPECT_TRUE(request_headers.HasHeader("Host")); HasHeader 732 net/http/http_pipelined_connection_impl.cc if (info->headers->HasHeader( HasHeader 718 net/http/http_proxy_client_socket_pool_unittest.cc EXPECT_FALSE(headers->HasHeader("set-cookie")); HasHeader 87 net/http/http_request_headers.h bool HasHeader(const base::StringPiece& key) const { HasHeader 15 net/http/http_request_headers_unittest.cc TEST(HttpRequestHeaders, HasHeader) { HasHeader 18 net/http/http_request_headers_unittest.cc EXPECT_TRUE(headers.HasHeader("foo")); HasHeader 19 net/http/http_request_headers_unittest.cc EXPECT_TRUE(headers.HasHeader("Foo")); HasHeader 20 net/http/http_request_headers_unittest.cc EXPECT_FALSE(headers.HasHeader("Fo")); HasHeader 23 net/http/http_request_headers_unittest.cc EXPECT_TRUE(headers_ref.HasHeader("foo")); HasHeader 24 net/http/http_request_headers_unittest.cc EXPECT_TRUE(headers_ref.HasHeader("Foo")); HasHeader 25 net/http/http_request_headers_unittest.cc EXPECT_FALSE(headers_ref.HasHeader("Fo")); HasHeader 185 net/http/http_response_headers.h bool HasHeader(const base::StringPiece& name) const; HasHeader 807 net/http/http_stream_parser.cc if (!headers->HasHeader("Transfer-Encoding")) { HasHeader 281 net/http/http_transaction_unittest.cc return request_->extra_headers.HasHeader("X-Require-Mock-Auth"); HasHeader 678 net/http/http_util.cc if (net::HttpUtil::HasHeader(*headers, header_name)) HasHeader 72 net/http/http_util.h static bool HasHeader(const std::string& headers, const char* name); HasHeader 103 net/http/http_util_unittest.cc TEST(HttpUtilTest, HasHeader) { HasHeader 118 net/http/http_util_unittest.cc bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name); HasHeader 555 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_FALSE(headers->HasHeader("set-cookie")); HasHeader 710 net/tools/balsa/balsa_headers.h inline bool HasHeader(const base::StringPiece& key) const { HasHeader 247 net/tools/balsa/balsa_headers_test.cc TEST_F(BalsaHeadersTest, HasHeader) { HasHeader 250 net/tools/balsa/balsa_headers_test.cc ASSERT_TRUE(headers_->HasHeader("key1")); HasHeader 251 net/tools/balsa/balsa_headers_test.cc ASSERT_FALSE(headers_->HasHeader("value1")); HasHeader 252 net/tools/balsa/balsa_headers_test.cc ASSERT_FALSE(headers_->HasHeader("key2")); HasHeader 185 net/tools/flip_server/mem_cache.cc if (visitor.headers.HasHeader("expires")) { HasHeader 70 net/tools/flip_server/mem_cache_test.cc ASSERT_TRUE(hello->headers()->HasHeader("key1")); HasHeader 71 net/tools/flip_server/mem_cache_test.cc ASSERT_TRUE(hello->headers()->HasHeader("key2")); HasHeader 72 net/tools/flip_server/mem_cache_test.cc ASSERT_TRUE(hello->headers()->HasHeader("transfer-encoding")); HasHeader 73 net/tools/flip_server/mem_cache_test.cc ASSERT_TRUE(hello->headers()->HasHeader("connection")); HasHeader 451 net/tools/flip_server/spdy_interface.cc if (!headers.HasHeader("version")) HasHeader 453 net/tools/flip_server/spdy_interface.cc if (headers.HasHeader("X-Original-Url")) { HasHeader 463 net/tools/flip_server/spdy_interface.cc if (headers.HasHeader("X-Original-Url")) { HasHeader 597 net/tools/flip_server/spdy_interface.cc if (!mci->file_data->headers()->HasHeader("content-encoding")) { HasHeader 598 net/tools/flip_server/spdy_interface.cc if (mci->file_data->headers()->HasHeader("content-type")) { HasHeader 190 net/tools/quic/quic_in_memory_cache.cc if (response_headers.HasHeader("X-Original-Url")) { HasHeader 473 net/url_request/url_request_http_job.cc if (!request_info_.extra_headers.HasHeader( HasHeader 3106 net/url_request/url_request_unittest.cc EXPECT_FALSE(headers.HasHeader("Authorization")); HasHeader 3190 net/url_request/url_request_unittest.cc EXPECT_TRUE(headers.HasHeader("Authorization")); HasHeader 163 net/websockets/websocket_basic_handshake_stream.cc if (!headers->HasHeader(HttpRequestHeaders::kConnection)) { HasHeader 368 net/websockets/websocket_basic_handshake_stream.cc DCHECK(!headers.HasHeader(websockets::kSecWebSocketKey)); HasHeader 369 net/websockets/websocket_basic_handshake_stream.cc DCHECK(!headers.HasHeader(websockets::kSecWebSocketProtocol)); HasHeader 370 net/websockets/websocket_basic_handshake_stream.cc DCHECK(!headers.HasHeader(websockets::kSecWebSocketExtensions)); HasHeader 371 net/websockets/websocket_basic_handshake_stream.cc DCHECK(headers.HasHeader(HttpRequestHeaders::kOrigin)); HasHeader 372 net/websockets/websocket_basic_handshake_stream.cc DCHECK(headers.HasHeader(websockets::kUpgrade)); HasHeader 373 net/websockets/websocket_basic_handshake_stream.cc DCHECK(headers.HasHeader(HttpRequestHeaders::kConnection)); HasHeader 374 net/websockets/websocket_basic_handshake_stream.cc DCHECK(headers.HasHeader(websockets::kSecWebSocketVersion)); HasHeader 192 net/websockets/websocket_handshake_handler_test.cc EXPECT_FALSE(request_info.extra_headers.HasHeader("Upgrade")); HasHeader 193 net/websockets/websocket_handshake_handler_test.cc EXPECT_FALSE(request_info.extra_headers.HasHeader("Connection")); HasHeader 194 net/websockets/websocket_handshake_handler_test.cc EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key")); HasHeader 219 net/websockets/websocket_handshake_handler_test.cc EXPECT_FALSE(response_info.headers->HasHeader("Upgrade")); HasHeader 220 net/websockets/websocket_handshake_handler_test.cc EXPECT_FALSE(response_info.headers->HasHeader("Connection")); HasHeader 221 net/websockets/websocket_handshake_handler_test.cc EXPECT_FALSE(response_info.headers->HasHeader("Sec-WebSocket-Accept"));