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=0f16a0f4711caf0b3761bf6480622de2e75b72ef$
|
||||
// $hash=ac50966059a1ba14d20824a27bcc19e9c0c0d910$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/process_message_ctocpp.h"
|
||||
@@ -27,8 +27,9 @@ CefRefPtr<CefProcessMessage> CefProcessMessage::Create(const CefString& name) {
|
||||
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(!name.empty());
|
||||
if (name.empty())
|
||||
if (name.empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_process_message_t* _retval = cef_process_message_create(name.GetStruct());
|
||||
@@ -43,8 +44,9 @@ NO_SANITIZE("cfi-icall") bool CefProcessMessageCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -59,8 +61,9 @@ NO_SANITIZE("cfi-icall") bool CefProcessMessageCToCpp::IsReadOnly() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -76,8 +79,9 @@ CefRefPtr<CefProcessMessage> CefProcessMessageCToCpp::Copy() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
if (CEF_MEMBER_MISSING(_struct, copy)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -92,8 +96,9 @@ NO_SANITIZE("cfi-icall") CefString CefProcessMessageCToCpp::GetName() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_name))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_name)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -111,8 +116,9 @@ CefRefPtr<CefListValue> CefProcessMessageCToCpp::GetArgumentList() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_argument_list))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_argument_list)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -129,8 +135,9 @@ CefProcessMessageCToCpp::GetSharedMemoryRegion() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_shared_memory_region))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_shared_memory_region)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user