OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasHeader
(Results
1 - 25
of
40
) sorted by null
1
2
/external/chromium_org/net/tools/flip_server/
mem_cache_test.cc
70
ASSERT_TRUE(hello->headers()->
HasHeader
("key1"));
71
ASSERT_TRUE(hello->headers()->
HasHeader
("key2"));
72
ASSERT_TRUE(hello->headers()->
HasHeader
("transfer-encoding"));
73
ASSERT_TRUE(hello->headers()->
HasHeader
("connection"));
spdy_interface.cc
455
if (!headers.
HasHeader
("version"))
457
if (headers.
HasHeader
("X-Original-Url")) {
467
if (headers.
HasHeader
("X-Original-Url")) {
601
if (!mci->file_data->headers()->
HasHeader
("content-encoding")) {
602
if (mci->file_data->headers()->
HasHeader
("content-type")) {
mem_cache.cc
185
if (visitor.headers.
HasHeader
("expires")) {
/external/chromium_org/net/http/
http_request_headers_unittest.cc
15
TEST(HttpRequestHeaders,
HasHeader
) {
18
EXPECT_TRUE(headers.
HasHeader
("foo"));
19
EXPECT_TRUE(headers.
HasHeader
("Foo"));
20
EXPECT_FALSE(headers.
HasHeader
("Fo"));
23
EXPECT_TRUE(headers_ref.
HasHeader
("foo"));
24
EXPECT_TRUE(headers_ref.
HasHeader
("Foo"));
25
EXPECT_FALSE(headers_ref.
HasHeader
("Fo"));
http_request_headers.h
87
bool
HasHeader
(const base::StringPiece& key) const {
http_response_headers.h
181
bool
HasHeader
(const base::StringPiece& name) const;
http_util.h
72
static bool
HasHeader
(const std::string& headers, const char* name);
http_util.cc
278
bool HttpUtil::
HasHeader
(const std::string& headers, const char* name) {
691
if (net::HttpUtil::
HasHeader
(*headers, header_name))
http_util_unittest.cc
103
TEST(HttpUtilTest,
HasHeader
) {
118
bool result = HttpUtil::
HasHeader
(tests[i].headers, tests[i].name);
http_network_transaction.cc
77
if (!headers.
HasHeader
(kAlternateProtocolHeader))
891
request_headers_.
HasHeader
(HttpRequestHeaders::kAuthorization) ||
892
request_headers_.
HasHeader
(HttpRequestHeaders::kProxyAuthorization);
[
all
...]
/external/chromium_org/net/websockets/
websocket_handshake_handler_test.cc
192
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Upgrade"));
193
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Connection"));
194
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Sec-WebSocket-Key"));
219
EXPECT_FALSE(response_info.headers->
HasHeader
("Upgrade"));
220
EXPECT_FALSE(response_info.headers->
HasHeader
("Connection"));
221
EXPECT_FALSE(response_info.headers->
HasHeader
("Sec-WebSocket-Accept"));
websocket_basic_handshake_stream.cc
167
if (!headers->
HasHeader
(HttpRequestHeaders::kConnection)) {
377
DCHECK(!headers.
HasHeader
(websockets::kSecWebSocketKey));
378
DCHECK(!headers.
HasHeader
(websockets::kSecWebSocketProtocol));
379
DCHECK(!headers.
HasHeader
(websockets::kSecWebSocketExtensions));
380
DCHECK(headers.
HasHeader
(HttpRequestHeaders::kOrigin));
381
DCHECK(headers.
HasHeader
(websockets::kUpgrade));
382
DCHECK(headers.
HasHeader
(HttpRequestHeaders::kConnection));
383
DCHECK(headers.
HasHeader
(websockets::kSecWebSocketVersion));
/external/chromium_org/chrome/browser/android/
intercept_download_resource_throttle.cc
58
if (headers.
HasHeader
(net::HttpRequestHeaders::kAuthorization) ||
/external/chromium_org/components/data_reduction_proxy/browser/
data_reduction_proxy_auth_request_handler_unittest.cc
165
EXPECT_FALSE(headers.
HasHeader
(kChromeProxyHeader));
172
EXPECT_FALSE(headers.
HasHeader
(kChromeProxyHeader));
182
EXPECT_FALSE(headers.
HasHeader
(kChromeProxyHeader));
191
EXPECT_TRUE(headers.
HasHeader
(kChromeProxyHeader));
201
EXPECT_TRUE(ssl_headers.
HasHeader
(kChromeProxyHeader));
216
EXPECT_TRUE(headers2.
HasHeader
(kChromeProxyHeader));
231
EXPECT_TRUE(headers3.
HasHeader
(kChromeProxyHeader));
303
EXPECT_TRUE(headers.
HasHeader
(kChromeProxyHeader));
data_reduction_proxy_auth_request_handler.cc
151
if (headers->
HasHeader
(kChromeProxyHeader)) {
/external/chromium_org/components/variations/
variations_http_header_provider_unittest.cc
175
EXPECT_TRUE(headers.
HasHeader
("X-Client-Data"));
196
EXPECT_FALSE(headers.
HasHeader
("X-Client-Data"));
202
EXPECT_FALSE(headers.
HasHeader
("X-Client-Data"));
/external/chromium_org/content/renderer/media/crypto/
proxy_decryptor.cc
93
bool
HasHeader
(const uint8* data, int data_length, const std::string& header) {
106
if (
HasHeader
(init_data, init_data_length, kPrefixedApiLoadSessionHeader)) {
108
} else if (
HasHeader
(init_data,
/external/chromium_org/net/tools/balsa/
balsa_headers_test.cc
247
TEST_F(BalsaHeadersTest,
HasHeader
) {
250
ASSERT_TRUE(headers_->
HasHeader
("key1"));
251
ASSERT_FALSE(headers_->
HasHeader
("value1"));
252
ASSERT_FALSE(headers_->
HasHeader
("key2"));
/external/chromium_org/chrome/browser/devtools/
devtools_network_transaction.cc
137
bool has_devtools_client_id = request_->extra_headers.
HasHeader
(
139
bool has_devtools_request_initiator = request_->extra_headers.
HasHeader
(
/external/chromium_org/chrome/browser/renderer_host/
chrome_resource_dispatcher_host_delegate_browsertest.cc
154
ASSERT_FALSE(dispatcher_host_delegate_->request_headers_.
HasHeader
(
/external/chromium_org/components/cronet/android/
url_request_adapter.cc
136
if (!headers_.
HasHeader
(net::HttpRequestHeaders::kUserAgent)) {
/external/chromium_org/components/data_reduction_proxy/common/
data_reduction_proxy_headers.cc
229
!headers->
HasHeader
("Proxy-Authenticate")) {
/external/chromium_org/net/tools/quic/
quic_in_memory_cache.cc
188
if (response_headers.
HasHeader
("X-Original-Url")) {
/external/chromium_org/media/cdm/ppapi/
cdm_wrapper.h
175
bool
HasHeader
(const uint8* data,
201
if (
HasHeader
(init_data, init_data_size, kPersistentSessionHeader)) {
/external/chromium_org/chrome/browser/extensions/api/web_request/
web_request_api_unittest.cc
[
all
...]
Completed in 277 milliseconds
1
2