Fix minor style issues with request_impl.[cc|h]

This commit is contained in:
Marshall Greenblatt 2022-07-29 12:14:16 -04:00
parent f148af1bd6
commit bbc08e4f5e
2 changed files with 3 additions and 2 deletions

View File

@ -132,8 +132,9 @@ void GetHeaderMap(const net::HttpRequestHeaders& headers,
// Do not include Referer in the header map.
if (!base::EqualsCaseInsensitiveASCII(name,
net::HttpRequestHeaders::kReferer))
net::HttpRequestHeaders::kReferer)) {
map.insert(std::make_pair(name, it.value()));
}
};
}

View File

@ -92,7 +92,7 @@ class CefRequestImpl : public CefRequest {
// Populate this object from the RedirectInfo object.
void Set(const net::RedirectInfo& redirect_info);
// Populate this object from teh HttpRequestHeaders object.
// Populate this object from the HttpRequestHeaders object.
void Set(const net::HttpRequestHeaders& headers);
// Populate this object from the NavigationParams object.