mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for copyright year and bracket style
This commit is contained in:
@@ -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=de6b935b77168bd9b44f26643c510f360f8b6ebd$
|
||||
// $hash=93f4af6f3591fb4bd50275d518b176b890b7d901$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/extension_ctocpp.h"
|
||||
@@ -24,8 +24,9 @@ NO_SANITIZE("cfi-icall") CefString CefExtensionCToCpp::GetIdentifier() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_identifier))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_identifier)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -42,8 +43,9 @@ NO_SANITIZE("cfi-icall") CefString CefExtensionCToCpp::GetPath() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_path))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_path)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -61,8 +63,9 @@ CefRefPtr<CefDictionaryValue> CefExtensionCToCpp::GetManifest() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_manifest))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_manifest)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -78,15 +81,17 @@ bool CefExtensionCToCpp::IsSame(CefRefPtr<CefExtension> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefExtensionCToCpp::Unwrap(that));
|
||||
@@ -100,8 +105,9 @@ CefRefPtr<CefExtensionHandler> CefExtensionCToCpp::GetHandler() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_handler))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_handler)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -117,8 +123,9 @@ CefRefPtr<CefRequestContext> CefExtensionCToCpp::GetLoaderContext() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_loader_context))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_loader_context)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -133,8 +140,9 @@ NO_SANITIZE("cfi-icall") bool CefExtensionCToCpp::IsLoaded() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_loaded))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_loaded)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -149,8 +157,9 @@ NO_SANITIZE("cfi-icall") void CefExtensionCToCpp::Unload() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, unload))
|
||||
if (CEF_MEMBER_MISSING(_struct, unload)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user