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=80a91b8a85dc537cb49cbd5eaea974f92fbf9cde$
|
||||
// $hash=b1bfb92cdbb050816ed3387ad596fa8af7327479$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/binary_value_ctocpp.h"
|
||||
@ -26,8 +26,9 @@ CefRefPtr<CefBinaryValue> CefBinaryValue::Create(const void* data,
|
||||
|
||||
// Verify param: data; type: simple_byaddr
|
||||
DCHECK(data);
|
||||
if (!data)
|
||||
if (!data) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_binary_value_t* _retval = cef_binary_value_create(data, data_size);
|
||||
@ -42,8 +43,9 @@ NO_SANITIZE("cfi-icall") bool CefBinaryValueCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_binary_value_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
|
||||
|
||||
@ -58,8 +60,9 @@ NO_SANITIZE("cfi-icall") bool CefBinaryValueCToCpp::IsOwned() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_owned))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_owned)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -75,15 +78,17 @@ bool CefBinaryValueCToCpp::IsSame(CefRefPtr<CefBinaryValue> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_binary_value_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, CefBinaryValueCToCpp::Unwrap(that));
|
||||
@ -97,15 +102,17 @@ bool CefBinaryValueCToCpp::IsEqual(CefRefPtr<CefBinaryValue> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_equal))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_equal)) {
|
||||
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_equal(_struct, CefBinaryValueCToCpp::Unwrap(that));
|
||||
@ -119,8 +126,9 @@ CefRefPtr<CefBinaryValue> CefBinaryValueCToCpp::Copy() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_binary_value_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
|
||||
|
||||
@ -135,8 +143,9 @@ NO_SANITIZE("cfi-icall") size_t CefBinaryValueCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -154,15 +163,17 @@ size_t CefBinaryValueCToCpp::GetData(void* buffer,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_data))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_data)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: buffer; type: simple_byaddr
|
||||
DCHECK(buffer);
|
||||
if (!buffer)
|
||||
if (!buffer) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = _struct->get_data(_struct, buffer, buffer_size, data_offset);
|
||||
|
Reference in New Issue
Block a user