Home
last modified time | relevance | path

Searched refs:headerMap (Results 1 – 24 of 24) sorted by relevance

/third_party/cef/libcef_dll/cpptoc/
Drequest_cpptoc.cc188 cef_string_multimap_t headerMap) { in request_get_header_map() argument
195 DCHECK(headerMap); in request_get_header_map()
196 if (!headerMap) in request_get_header_map()
201 transfer_string_multimap_contents(headerMap, headerMapMultimap); in request_get_header_map()
207 cef_string_multimap_clear(headerMap); in request_get_header_map()
208 transfer_string_multimap_contents(headerMapMultimap, headerMap); in request_get_header_map()
212 cef_string_multimap_t headerMap) { in request_set_header_map() argument
219 DCHECK(headerMap); in request_set_header_map()
220 if (!headerMap) in request_set_header_map()
225 transfer_string_multimap_contents(headerMap, headerMapMultimap); in request_set_header_map()
[all …]
Dresponse_cpptoc.cc226 cef_string_multimap_t headerMap) { in response_get_header_map() argument
233 DCHECK(headerMap); in response_get_header_map()
234 if (!headerMap) in response_get_header_map()
239 transfer_string_multimap_contents(headerMap, headerMapMultimap); in response_get_header_map()
245 cef_string_multimap_clear(headerMap); in response_get_header_map()
246 transfer_string_multimap_contents(headerMapMultimap, headerMap); in response_get_header_map()
250 cef_string_multimap_t headerMap) { in response_set_header_map() argument
257 DCHECK(headerMap); in response_set_header_map()
258 if (!headerMap) in response_set_header_map()
263 transfer_string_multimap_contents(headerMap, headerMapMultimap); in response_set_header_map()
/third_party/cef/tests/ceftests/
Durlrequest_unittest.cc476 CefRequest::HeaderMap headerMap; in VerifyNormalRequest() local
477 request->GetHeaderMap(headerMap); in VerifyNormalRequest()
480 EXPECT_FALSE(GetHeaderValue(headerMap, "user-agent").empty()); in VerifyNormalRequest()
486 GetHeaderValue(headerMap, "accept-language").c_str()); in VerifyNormalRequest()
489 EXPECT_FALSE(GetHeaderValue(headerMap, "accept-encoding").empty()); in VerifyNormalRequest()
491 GetHeaderValue(headerMap, "host").c_str()); in VerifyNormalRequest()
495 const std::string& cookie_value = GetHeaderValue(headerMap, "cookie"); in VerifyNormalRequest()
516 CefResponse::HeaderMap headerMap; in GetNormalResponse() local
517 settings->response->GetHeaderMap(headerMap); in GetNormalResponse()
523 headerMap.insert(std::make_pair("Set-Cookie", ss.str())); in GetNormalResponse()
[all …]
Dcookie_unittest.cc739 CefRequest::HeaderMap headerMap; in Open() local
740 request->GetHeaderMap(headerMap); in Open()
741 CefRequest::HeaderMap::iterator it = headerMap.find("Cookie"); in Open()
742 if (it != headerMap.end() && it->second == "name2=value2") in Open()
760 CefResponse::HeaderMap headerMap; in GetResponseHeaders() local
761 response->GetHeaderMap(headerMap); in GetResponseHeaders()
762 headerMap.insert(std::make_pair("Set-Cookie", cookie_)); in GetResponseHeaders()
763 response->SetHeaderMap(headerMap); in GetResponseHeaders()
815 CefRequest::HeaderMap headerMap; in Create() local
816 request->GetHeaderMap(headerMap); in Create()
[all …]
Dtest_handler.cc242 const ResourceContent::HeaderMap& headerMap) { in ToCefHeaderMap() argument
244 ResourceContent::HeaderMap::const_iterator it = headerMap.begin(); in ToCefHeaderMap()
245 for (; it != headerMap.end(); ++it) { in ToCefHeaderMap()
269 ToCefHeaderMap(it->second.headerMap()), stream); in GetResourceHandler()
391 ResourceContent::HeaderMap headerMap = ResourceContent::HeaderMap(); in AddResource() local
392 ResourceContent rc = ResourceContent(content, mime_type, headerMap); in AddResource()
Dtest_request.cc176 CefResponse::HeaderMap headerMap; in CreateResourceHandler() local
177 response->GetHeaderMap(headerMap); in CreateResourceHandler()
181 headerMap, stream); in CreateResourceHandler()
Ddownload_unittest.cc75 CefResponse::HeaderMap headerMap; in GetResponseHeaders() local
76 response->GetHeaderMap(headerMap); in GetResponseHeaders()
77 headerMap.insert( in GetResponseHeaders()
79 response->SetHeaderMap(headerMap); in GetResponseHeaders()
Dscheme_handler_unittest.cc286 CefRequest::HeaderMap headerMap; in ProcessRequest() local
288 request->GetHeaderMap(headerMap); in ProcessRequest()
289 headerIter = headerMap.find("Accept-Language"); in ProcessRequest()
290 if (headerIter != headerMap.end()) in ProcessRequest()
463 CefRequest::HeaderMap headerMap; in Open() local
465 request->GetHeaderMap(headerMap); in Open()
466 headerIter = headerMap.find("Accept-Language"); in Open()
467 if (headerIter != headerMap.end()) in Open()
Dtest_handler.h36 const HeaderMap& headerMap() const { return header_map_; } in headerMap() function
Dresource_request_handler_unittest.cc1101 CefResponse::HeaderMap headerMap; in GetRedirectResource() local
1102 headerMap.insert(std::make_pair("Location", redirect_url)); in GetRedirectResource()
1104 return GetResource(307, "Temporary Redirect", "text/html", headerMap, in GetRedirectResource()
2291 CefResponse::HeaderMap headerMap; in GetRedirectResource() local
2292 headerMap.insert(std::make_pair("Location", redirect_url)); in GetRedirectResource()
2294 return GetResource(307, "Temporary Redirect", "text/javascript", headerMap, in GetRedirectResource()
/third_party/cef/libcef_dll/ctocpp/
Drequest_ctocpp.cc191 void CefRequestCToCpp::GetHeaderMap(HeaderMap& headerMap) { in GetHeaderMap() argument
202 transfer_string_multimap_contents(headerMap, headerMapMultimap); in GetHeaderMap()
209 headerMap.clear(); in GetHeaderMap()
210 transfer_string_multimap_contents(headerMapMultimap, headerMap); in GetHeaderMap()
216 void CefRequestCToCpp::SetHeaderMap(const HeaderMap& headerMap) { in SetHeaderMap() argument
227 transfer_string_multimap_contents(headerMap, headerMapMultimap); in SetHeaderMap()
285 const HeaderMap& headerMap) { in Set() argument
306 transfer_string_multimap_contents(headerMap, headerMapMultimap); in Set()
Dresponse_ctocpp.cc232 void CefResponseCToCpp::GetHeaderMap(HeaderMap& headerMap) { in GetHeaderMap() argument
243 transfer_string_multimap_contents(headerMap, headerMapMultimap); in GetHeaderMap()
250 headerMap.clear(); in GetHeaderMap()
251 transfer_string_multimap_contents(headerMapMultimap, headerMap); in GetHeaderMap()
257 void CefResponseCToCpp::SetHeaderMap(const HeaderMap& headerMap) { in SetHeaderMap() argument
268 transfer_string_multimap_contents(headerMap, headerMapMultimap); in SetHeaderMap()
Drequest_ctocpp.h47 void GetHeaderMap(HeaderMap& headerMap) override;
48 void SetHeaderMap(const HeaderMap& headerMap) override;
56 const HeaderMap& headerMap) override;
Dresponse_ctocpp.h52 void GetHeaderMap(HeaderMap& headerMap) override;
53 void SetHeaderMap(const HeaderMap& headerMap) override;
/third_party/cef/include/
Dcef_request.h134 virtual void GetHeaderMap(HeaderMap& headerMap) = 0;
141 virtual void SetHeaderMap(const HeaderMap& headerMap) = 0;
169 const HeaderMap& headerMap) = 0;
Dcef_response.h146 virtual void GetHeaderMap(HeaderMap& headerMap) = 0;
152 virtual void SetHeaderMap(const HeaderMap& headerMap) = 0;
/third_party/cef/include/capi/
Dcef_request_capi.h130 cef_string_multimap_t headerMap);
137 cef_string_multimap_t headerMap);
167 cef_string_multimap_t headerMap);
Dcef_response_capi.h147 cef_string_multimap_t headerMap);
153 cef_string_multimap_t headerMap);
/third_party/cef/libcef/common/
Drequest_impl.cc64 int GetCacheControlHeaderPolicy(CefRequest::HeaderMap headerMap) { in GetCacheControlHeaderPolicy() argument
69 CefRequest::HeaderMap::const_iterator it = headerMap.begin(); in GetCacheControlHeaderPolicy()
70 for (; it != headerMap.end(); ++it) { in GetCacheControlHeaderPolicy()
269 void CefRequestImpl::GetHeaderMap(HeaderMap& headerMap) { in GetHeaderMap() argument
271 headerMap = headermap_; in GetHeaderMap()
274 void CefRequestImpl::SetHeaderMap(const HeaderMap& headerMap) { in SetHeaderMap() argument
278 ::GetHeaderMap(headerMap, headermap_); in SetHeaderMap()
326 const HeaderMap& headerMap) { in Set() argument
344 ::GetHeaderMap(headerMap, headermap_); in Set()
562 CefRequest::HeaderMap headerMap; in Get() local
[all …]
Dresponse_impl.h42 void GetHeaderMap(HeaderMap& headerMap) override;
43 void SetHeaderMap(const HeaderMap& headerMap) override;
Drequest_impl.h67 void GetHeaderMap(HeaderMap& headerMap) override;
68 void SetHeaderMap(const HeaderMap& headerMap) override;
76 const HeaderMap& headerMap) override;
Dresponse_impl.cc152 void CefResponseImpl::SetHeaderMap(const HeaderMap& headerMap) { in SetHeaderMap() argument
155 header_map_ = headerMap; in SetHeaderMap()
/third_party/cef/tests/cefclient/browser/
Dtest_runner.cc146 CefRequest::HeaderMap headerMap; in RunRequestTest() local
147 headerMap.insert(std::make_pair("X-My-Header", "My Header Value")); in RunRequestTest()
148 request->SetHeaderMap(headerMap); in RunRequestTest()
645 CefRequest::HeaderMap headerMap; in DumpRequestContents() local
646 request->GetHeaderMap(headerMap); in DumpRequestContents()
647 if (headerMap.size() > 0) { in DumpRequestContents()
649 CefRequest::HeaderMap::const_iterator it = headerMap.begin(); in DumpRequestContents()
650 for (; it != headerMap.end(); ++it) { in DumpRequestContents()
/third_party/cef/libcef/browser/net_service/
Dresource_handler_wrapper.cc495 CefResponse::HeaderMap headerMap; in GetResponseHeaders() local
496 response->GetHeaderMap(headerMap); in GetResponseHeaders()
497 for (const auto& value : headerMap) { in GetResponseHeaders()