Home
last modified time | relevance | path

Searched refs:GetHeader (Results 1 – 25 of 85) sorted by relevance

1234

/external/chromium_org/net/websockets/
Dwebsocket_handshake_handler_spdy_test.cc61 EXPECT_EQ(url.path(), spdy_util_.GetHeader(headers, "path")); in TEST_P()
62 EXPECT_TRUE(spdy_util_.GetHeader(headers, "upgrade").empty()); in TEST_P()
63 EXPECT_TRUE(spdy_util_.GetHeader(headers, "Upgrade").empty()); in TEST_P()
64 EXPECT_TRUE(spdy_util_.GetHeader(headers, "connection").empty()); in TEST_P()
65 EXPECT_TRUE(spdy_util_.GetHeader(headers, "Connection").empty()); in TEST_P()
66 EXPECT_TRUE(spdy_util_.GetHeader(headers, "Sec-WebSocket-Key").empty()); in TEST_P()
67 EXPECT_TRUE(spdy_util_.GetHeader(headers, "sec-websocket-key").empty()); in TEST_P()
68 EXPECT_TRUE(spdy_util_.GetHeader(headers, "Sec-WebSocket-Version").empty()); in TEST_P()
69 EXPECT_TRUE(spdy_util_.GetHeader(headers, "sec-webSocket-version").empty()); in TEST_P()
70 EXPECT_EQ("example.com", spdy_util_.GetHeader(headers, "host")); in TEST_P()
[all …]
Dwebsocket_handshake_handler_test.cc196 EXPECT_TRUE(request_info.extra_headers.GetHeader("Host", &value)); in TEST()
198 EXPECT_TRUE(request_info.extra_headers.GetHeader("Sec-WebSocket-Origin", in TEST()
201 EXPECT_TRUE(request_info.extra_headers.GetHeader("Sec-WebSocket-Protocol", in TEST()
/external/chromium_org/content/renderer/npapi/
Dwebplugin_impl_unittest.cc20 std::string GetHeader(const WebURLRequest& request, const char* name) { in GetHeader() function
61 EXPECT_EQ("bar", GetHeader(request, "foo")); in TEST()
62 EXPECT_EQ(0U, GetHeader(request, "bar").length()); in TEST()
63 EXPECT_EQ(0U, GetHeader(request, "Content-length").length()); in TEST()
75 EXPECT_EQ(100U, GetHeader(request, "foo").length()); in TEST()
86 EXPECT_EQ("h1", GetHeader(request, "h1")); in TEST()
87 EXPECT_EQ("h2", GetHeader(request, "h2")); in TEST()
88 EXPECT_EQ("h3", GetHeader(request, "h3")); in TEST()
89 EXPECT_EQ("h4", GetHeader(request, "h4")); in TEST()
90 EXPECT_EQ("h5", GetHeader(request, "h5")); in TEST()
[all …]
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dnacl_http_response_headers_unittest.cc25 EXPECT_EQ(std::string("w\"abcdefg\""), parser_1.GetHeader("etag")); in TEST()
26 EXPECT_EQ(std::string(), parser_1.GetHeader("last-modified")); in TEST()
41 parser_1b.GetHeader("last-modified")); in TEST()
60 parser_2.GetHeader("etag")); in TEST()
71 parser_3.GetHeader("etag")); in TEST()
82 EXPECT_EQ(bad_expected, parser_4.GetHeader("etag")); in TEST()
Dnacl_http_response_headers.cc74 std::string NaClHttpResponseHeaders::GetHeader(const std::string& name) { in GetHeader() function in plugin::NaClHttpResponseHeaders
87 std::string result = GetHeader("etag"); in GetCacheValidators()
90 std::string lm = GetHeader("last-modified"); in GetCacheValidators()
Dnacl_http_response_headers.h44 std::string GetHeader(const std::string& name);
/external/chromium_org/net/tools/balsa/
Dbalsa_headers_test.cc170 ASSERT_EQ("value1", headers_->GetHeader("key1")); in TEST_F()
171 ASSERT_EQ("value2", headers_->GetHeader("key2")); in TEST_F()
172 ASSERT_EQ("value3", headers_->GetHeader("key3")); in TEST_F()
202 ASSERT_EQ("value2", headers_->GetHeader("key1")); in TEST_F()
217 ASSERT_EQ("value1,value2", headers_->GetHeader("key1")); in TEST_F()
235 ASSERT_EQ("value2,value1", headers_->GetHeader("key1")); in TEST_F()
/external/chromium/chrome/browser/debugger/
Ddevtools_remote_message.cc30 const std::string DevToolsRemoteMessage::GetHeader( in GetHeader() function in DevToolsRemoteMessage
42 return GetHeader(header_name, DevToolsRemoteMessage::kEmptyValue); in GetHeaderWithEmptyDefault()
Ddevtools_remote_listen_socket.cc62 const std::string& payload_length_string = GetHeader( in StartNextField()
190 const std::string& DevToolsRemoteListenSocket::GetHeader( in GetHeader() function in DevToolsRemoteListenSocket
Ddevtools_remote_listen_socket.h55 const std::string& GetHeader(const std::string& header_name,
Ddevtools_remote_message.h64 const std::string GetHeader(const std::string& header_name,
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_confirm_api_flow_unittest.cc112 EXPECT_TRUE(headers.GetHeader("Authorization", &oauth_header)); in TEST_F()
114 EXPECT_TRUE(headers.GetHeader("X-Cloudprint-Proxy", &proxy)); in TEST_F()
144 EXPECT_TRUE(headers.GetHeader("X-Cloudprint-Proxy", &proxy)); in TEST_F()
Dprivet_url_fetcher_unittest.cc195 ASSERT_TRUE(headers.GetHeader("X-Privet-Token", &header_token)); in TEST_F()
216 ASSERT_TRUE(headers.GetHeader("X-Privet-Token", &header_token)); in TEST_F()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_dialog_controller_mock.cc12 EXPECT_CALL(*this, GetHeader()). in MediaGalleriesDialogControllerMock()
Dmedia_galleries_dialog_controller_mock.h18 MOCK_CONST_METHOD0(GetHeader, base::string16());
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_service.cc84 bool GetHeader(HttpResponseHeaders* headers, const char* name, in GetHeader() function
348 if (!GetHeader(headers.get(), kSsdpLocationHeader, &device_url_str) || in ParseResponse()
361 if (!GetHeader(headers.get(), kSsdpUsnHeader, &device_id) || in ParseResponse()
374 GetHeader(headers.get(), kSsdpCacheControlHeader, &cache_control); in ParseResponse()
378 if (GetHeader(headers.get(), kSsdpConfigIdHeader, &config_id) && in ParseResponse()
/external/chromium/net/websockets/
Dwebsocket_handshake_handler_unittest.cc209 EXPECT_TRUE(request_info.extra_headers.GetHeader("Host", &value)); in TEST()
211 EXPECT_TRUE(request_info.extra_headers.GetHeader("Origin", &value)); in TEST()
213 EXPECT_TRUE(request_info.extra_headers.GetHeader("Sec-WebSocket-Protocol", in TEST()
/external/chromium/net/http/
Dhttp_proxy_utils.cc32 if (request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in BuildTunnelRequest()
Dhttp_vary_data.cc109 if (request_info.extra_headers.GetHeader(request_header, &result)) in GetRequestValue()
/external/chromium_org/net/tools/quic/
Dquic_in_memory_cache.cc179 base = response_headers.GetHeader("X-Original-Url"); in Initialize()
219 host = request_headers.GetHeader("host"); in GetKey()
/external/chromium_org/net/spdy/
Dspdy_websocket_test_util.h21 std::string GetHeader(const SpdyHeaderBlock& headers,
/external/chromium_org/net/tools/flip_server/
Dspdy_interface.cc450 headers.GetHeader("X-Original-Url").as_string(); in SendSynStreamImpl()
460 headers.GetHeader("X-Original-Url").as_string(); in SendSynStreamImpl()
466 block[":host"] = headers.GetHeader("Host").as_string(); in SendSynStreamImpl()
592 mci->file_data->headers()->GetHeader("content-type").as_string(); in GetOutput()
/external/chromium_org/chrome/browser/metrics/variations/
Dvariations_http_header_provider_unittest.cc78 headers.GetHeader("X-Client-Data", &variations); in TEST()
/external/chromium_org/net/http/
Dproxy_client_socket.cc38 if (request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in BuildTunnelRequest()
Dhttp_vary_data.cc105 if (request_info.extra_headers.GetHeader(request_header, &result)) in GetRequestValue()

1234