/third_party/cef/libcef_dll/cpptoc/ |
D | request_cpptoc.cc | 188 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 …]
|
D | response_cpptoc.cc | 226 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/ |
D | urlrequest_unittest.cc | 476 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 …]
|
D | cookie_unittest.cc | 739 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 …]
|
D | test_handler.cc | 242 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()
|
D | test_request.cc | 176 CefResponse::HeaderMap headerMap; in CreateResourceHandler() local 177 response->GetHeaderMap(headerMap); in CreateResourceHandler() 181 headerMap, stream); in CreateResourceHandler()
|
D | download_unittest.cc | 75 CefResponse::HeaderMap headerMap; in GetResponseHeaders() local 76 response->GetHeaderMap(headerMap); in GetResponseHeaders() 77 headerMap.insert( in GetResponseHeaders() 79 response->SetHeaderMap(headerMap); in GetResponseHeaders()
|
D | scheme_handler_unittest.cc | 286 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()
|
D | test_handler.h | 36 const HeaderMap& headerMap() const { return header_map_; } in headerMap() function
|
D | resource_request_handler_unittest.cc | 1101 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/ |
D | request_ctocpp.cc | 191 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()
|
D | response_ctocpp.cc | 232 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()
|
D | request_ctocpp.h | 47 void GetHeaderMap(HeaderMap& headerMap) override; 48 void SetHeaderMap(const HeaderMap& headerMap) override; 56 const HeaderMap& headerMap) override;
|
D | response_ctocpp.h | 52 void GetHeaderMap(HeaderMap& headerMap) override; 53 void SetHeaderMap(const HeaderMap& headerMap) override;
|
/third_party/cef/include/ |
D | cef_request.h | 134 virtual void GetHeaderMap(HeaderMap& headerMap) = 0; 141 virtual void SetHeaderMap(const HeaderMap& headerMap) = 0; 169 const HeaderMap& headerMap) = 0;
|
D | cef_response.h | 146 virtual void GetHeaderMap(HeaderMap& headerMap) = 0; 152 virtual void SetHeaderMap(const HeaderMap& headerMap) = 0;
|
/third_party/cef/include/capi/ |
D | cef_request_capi.h | 130 cef_string_multimap_t headerMap); 137 cef_string_multimap_t headerMap); 167 cef_string_multimap_t headerMap);
|
D | cef_response_capi.h | 147 cef_string_multimap_t headerMap); 153 cef_string_multimap_t headerMap);
|
/third_party/cef/libcef/common/ |
D | request_impl.cc | 64 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 …]
|
D | response_impl.h | 42 void GetHeaderMap(HeaderMap& headerMap) override; 43 void SetHeaderMap(const HeaderMap& headerMap) override;
|
D | request_impl.h | 67 void GetHeaderMap(HeaderMap& headerMap) override; 68 void SetHeaderMap(const HeaderMap& headerMap) override; 76 const HeaderMap& headerMap) override;
|
D | response_impl.cc | 152 void CefResponseImpl::SetHeaderMap(const HeaderMap& headerMap) { in SetHeaderMap() argument 155 header_map_ = headerMap; in SetHeaderMap()
|
/third_party/cef/tests/cefclient/browser/ |
D | test_runner.cc | 146 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/ |
D | resource_handler_wrapper.cc | 495 CefResponse::HeaderMap headerMap; in GetResponseHeaders() local 496 response->GetHeaderMap(headerMap); in GetResponseHeaders() 497 for (const auto& value : headerMap) { in GetResponseHeaders()
|