Update source files for bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:59:03 -05:00
parent d84b07a5cb
commit 3af3eab3e4
366 changed files with 7275 additions and 3834 deletions

View File

@ -108,8 +108,9 @@ class CefHttpResponse : public HttpResponse {
new CefTestServerConnectionImpl(delegate));
const bool handled =
handler_->OnTestServerRequest(server_, request_, connection.get());
if (handled)
if (handled) {
return;
}
LOG(WARNING) << "Request not handled. Returning 404: "
<< request_->GetURL().ToString();
@ -148,8 +149,9 @@ CefRefPtr<CefRequest> CreateCefRequest(const HttpRequest& request) {
auto cef_request = CefRequest::Create();
cef_request->Set(request.GetURL().spec(), request.method_string, post_data,
header_map);
if (!referer.empty())
if (!referer.empty()) {
cef_request->SetReferrer(referer, REFERRER_POLICY_DEFAULT);
}
return cef_request;
}