Update generated files for copyright year and bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:47:15 -05:00
parent c7ffa3a122
commit d84b07a5cb
759 changed files with 12777 additions and 7149 deletions

View File

@ -1,4 +1,4 @@
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=57f1a169f2b2efb6ff3f1ca71aa390fb1d82ed2d$
// $hash=ae437028fb869b3a569bb45d150cf772a309a1f2$
//
#include "libcef_dll/cpptoc/resource_request_handler_cpptoc.h"
@ -35,12 +35,14 @@ resource_request_handler_get_cookie_access_filter(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return NULL;
}
// Unverified params: browser, frame
// Execute
@ -63,16 +65,19 @@ resource_request_handler_on_before_resource_load(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return RV_CONTINUE;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return RV_CONTINUE;
}
// Verify param: callback; type: refptr_diff
DCHECK(callback);
if (!callback)
if (!callback) {
return RV_CONTINUE;
}
// Unverified params: browser, frame
// Execute
@ -94,12 +99,14 @@ resource_request_handler_get_resource_handler(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return NULL;
}
// Unverified params: browser, frame
// Execute
@ -122,20 +129,24 @@ void CEF_CALLBACK resource_request_handler_on_resource_redirect(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return;
}
// Verify param: response; type: refptr_diff
DCHECK(response);
if (!response)
if (!response) {
return;
}
// Verify param: new_url; type: string_byref
DCHECK(new_url);
if (!new_url)
if (!new_url) {
return;
}
// Unverified params: browser, frame
// Translate param: new_url; type: string_byref
@ -157,16 +168,19 @@ int CEF_CALLBACK resource_request_handler_on_resource_response(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return 0;
}
// Verify param: response; type: refptr_diff
DCHECK(response);
if (!response)
if (!response) {
return 0;
}
// Unverified params: browser, frame
// Execute
@ -188,16 +202,19 @@ resource_request_handler_get_resource_response_filter(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return NULL;
}
// Verify param: response; type: refptr_diff
DCHECK(response);
if (!response)
if (!response) {
return NULL;
}
// Unverified params: browser, frame
// Execute
@ -221,16 +238,19 @@ void CEF_CALLBACK resource_request_handler_on_resource_load_complete(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return;
}
// Verify param: response; type: refptr_diff
DCHECK(response);
if (!response)
if (!response) {
return;
}
// Unverified params: browser, frame
// Execute
@ -249,16 +269,19 @@ void CEF_CALLBACK resource_request_handler_on_protocol_execution(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return;
}
// Verify param: allow_os_execution; type: bool_byref
DCHECK(allow_os_execution);
if (!allow_os_execution)
if (!allow_os_execution) {
return;
}
// Unverified params: browser, frame
// Translate param: allow_os_execution; type: bool_byref
@ -271,8 +294,9 @@ void CEF_CALLBACK resource_request_handler_on_protocol_execution(
CefRequestCToCpp::Wrap(request), allow_os_executionBool);
// Restore param: allow_os_execution; type: bool_byref
if (allow_os_execution)
if (allow_os_execution) {
*allow_os_execution = allow_os_executionBool ? true : false;
}
}
} // namespace