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=4015c7179f87d58159252275559c0a11ee9958c7$
// $hash=461cf3d1954bafc2f291894ddf2b366b083bb773$
//
#include "libcef_dll/cpptoc/test/test_server_connection_cpptoc.h"
@ -30,16 +30,19 @@ void CEF_CALLBACK test_server_connection_send_http200response(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: content_type; type: string_byref_const
DCHECK(content_type);
if (!content_type)
if (!content_type) {
return;
}
// Verify param: data; type: simple_byaddr
DCHECK(data);
if (!data)
if (!data) {
return;
}
// Execute
CefTestServerConnectionCppToC::Get(self)->SendHttp200Response(
@ -53,8 +56,9 @@ void CEF_CALLBACK test_server_connection_send_http404response(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTestServerConnectionCppToC::Get(self)->SendHttp404Response();
@ -68,12 +72,14 @@ void CEF_CALLBACK test_server_connection_send_http500response(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: error_message; type: string_byref_const
DCHECK(error_message);
if (!error_message)
if (!error_message) {
return;
}
// Execute
CefTestServerConnectionCppToC::Get(self)->SendHttp500Response(
@ -92,16 +98,19 @@ void CEF_CALLBACK test_server_connection_send_http_response(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: content_type; type: string_byref_const
DCHECK(content_type);
if (!content_type)
if (!content_type) {
return;
}
// Verify param: data; type: simple_byaddr
DCHECK(data);
if (!data)
if (!data) {
return;
}
// Unverified params: extra_headers
// Translate param: extra_headers; type: string_map_multi_byref_const

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=253d69f93a8637dad0b6d90f8993617694d40732$
// $hash=da4666f75e56bfc41483f5d5627e9db612364ffb$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TEST_SERVER_CONNECTION_CPPTOC_H_

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=77804eaa33c7102c39f0748006ecc52d97b7265b$
// $hash=442e7f211c420aea2bc399024b947f67d83d3a6d$
//
#include "libcef_dll/cpptoc/test/test_server_cpptoc.h"
@ -29,8 +29,9 @@ CEF_EXPORT cef_test_server_t* cef_test_server_create_and_start(
// Verify param: handler; type: refptr_diff
DCHECK(handler);
if (!handler)
if (!handler) {
return NULL;
}
// Execute
CefRefPtr<CefTestServer> _retval = CefTestServer::CreateAndStart(
@ -51,8 +52,9 @@ void CEF_CALLBACK test_server_stop(struct _cef_test_server_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTestServerCppToC::Get(self)->Stop();
@ -65,8 +67,9 @@ test_server_get_origin(struct _cef_test_server_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Execute
CefString _retval = CefTestServerCppToC::Get(self)->GetOrigin();

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=bd5e875346e2fe779bdfda2e9e3caad228689ac1$
// $hash=f6f3d0a111ecd4f978ed7a1c9493679d027367fd$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TEST_SERVER_CPPTOC_H_

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=7cd3cda97645c531a682b0dfefe33c4c94802dc9$
// $hash=d180fbc2710aeb96dc4db266168281c29cc43642$
//
#include "libcef_dll/cpptoc/test/test_server_handler_cpptoc.h"
@ -32,20 +32,24 @@ int CEF_CALLBACK test_server_handler_on_test_server_request(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: server; type: refptr_diff
DCHECK(server);
if (!server)
if (!server) {
return 0;
}
// Verify param: request; type: refptr_diff
DCHECK(request);
if (!request)
if (!request) {
return 0;
}
// Verify param: connection; type: refptr_diff
DCHECK(connection);
if (!connection)
if (!connection) {
return 0;
}
// Execute
bool _retval = CefTestServerHandlerCppToC::Get(self)->OnTestServerRequest(

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=c1e57c3ad143ac617900ced69827b02e19f9234e$
// $hash=c52f8327259f74779b2bb7e16a84b5c245da482b$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TEST_SERVER_HANDLER_CPPTOC_H_

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=0192ac51914013c4452ffbb99c3a2589137f7c78$
// $hash=2b8d7a22d62b14176b5e7a9be38c7948544c71b6$
//
#include "libcef_dll/cpptoc/test/translator_test_cpptoc.h"
@ -50,8 +50,9 @@ translator_test_get_void(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestCppToC::Get(self)->GetVoid();
@ -63,8 +64,9 @@ int CEF_CALLBACK translator_test_get_bool(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
bool _retval = CefTranslatorTestCppToC::Get(self)->GetBool();
@ -79,8 +81,9 @@ int CEF_CALLBACK translator_test_get_int(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->GetInt();
@ -96,8 +99,9 @@ translator_test_get_double(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
double _retval = CefTranslatorTestCppToC::Get(self)->GetDouble();
@ -113,8 +117,9 @@ translator_test_get_long(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
long _retval = CefTranslatorTestCppToC::Get(self)->GetLong();
@ -130,8 +135,9 @@ translator_test_get_sizet(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
size_t _retval = CefTranslatorTestCppToC::Get(self)->GetSizet();
@ -146,8 +152,9 @@ int CEF_CALLBACK translator_test_set_void(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
bool _retval = CefTranslatorTestCppToC::Get(self)->SetVoid();
@ -163,8 +170,9 @@ int CEF_CALLBACK translator_test_set_bool(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
bool _retval =
@ -181,8 +189,9 @@ int CEF_CALLBACK translator_test_set_int(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
bool _retval = CefTranslatorTestCppToC::Get(self)->SetInt(val);
@ -198,8 +207,9 @@ int CEF_CALLBACK translator_test_set_double(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
bool _retval = CefTranslatorTestCppToC::Get(self)->SetDouble(val);
@ -215,8 +225,9 @@ int CEF_CALLBACK translator_test_set_long(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
bool _retval = CefTranslatorTestCppToC::Get(self)->SetLong(val);
@ -232,8 +243,9 @@ int CEF_CALLBACK translator_test_set_sizet(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
bool _retval = CefTranslatorTestCppToC::Get(self)->SetSizet(val);
@ -251,12 +263,14 @@ translator_test_set_int_list(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: simple_vec_byref_const
DCHECK(valCount == 0 || val);
if (valCount > 0 && !val)
if (valCount > 0 && !val) {
return 0;
}
// Translate param: val; type: simple_vec_byref_const
std::vector<int> valList;
@ -283,12 +297,14 @@ translator_test_get_int_list_by_ref(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: simple_vec_byref
DCHECK(valCount && (*valCount == 0 || val));
if (!valCount || (*valCount > 0 && !val))
if (!valCount || (*valCount > 0 && !val)) {
return 0;
}
// Translate param: val; type: simple_vec_byref
std::vector<int> valList;
@ -322,8 +338,9 @@ translator_test_get_int_list_size(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
size_t _retval = CefTranslatorTestCppToC::Get(self)->GetIntListSize();
@ -339,8 +356,9 @@ translator_test_get_string(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Execute
CefString _retval = CefTranslatorTestCppToC::Get(self)->GetString();
@ -356,12 +374,14 @@ int CEF_CALLBACK translator_test_set_string(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: string_byref_const
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
bool _retval = CefTranslatorTestCppToC::Get(self)->SetString(CefString(val));
@ -378,12 +398,14 @@ translator_test_get_string_by_ref(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: val; type: string_byref
DCHECK(val);
if (!val)
if (!val) {
return;
}
// Translate param: val; type: string_byref
CefString valStr(val);
@ -400,12 +422,14 @@ translator_test_set_string_list(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: string_vec_byref_const
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: string_vec_byref_const
std::vector<CefString> valList;
@ -426,12 +450,14 @@ translator_test_get_string_list_by_ref(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: string_vec_byref
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: string_vec_byref
std::vector<CefString> valList;
@ -457,12 +483,14 @@ translator_test_set_string_map(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: string_map_single_byref_const
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: string_map_single_byref_const
std::map<CefString, CefString> valMap;
@ -483,12 +511,14 @@ translator_test_get_string_map_by_ref(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: string_map_single_byref
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: string_map_single_byref
std::map<CefString, CefString> valMap;
@ -513,12 +543,14 @@ translator_test_set_string_multimap(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: string_map_multi_byref_const
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: string_map_multi_byref_const
std::multimap<CefString, CefString> valMultimap;
@ -540,12 +572,14 @@ translator_test_get_string_multimap_by_ref(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: string_map_multi_byref
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: string_map_multi_byref
std::multimap<CefString, CefString> valMultimap;
@ -570,8 +604,9 @@ translator_test_get_point(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return CefPoint();
}
// Execute
cef_point_t _retval = CefTranslatorTestCppToC::Get(self)->GetPoint();
@ -587,12 +622,14 @@ int CEF_CALLBACK translator_test_set_point(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: simple_byref_const
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: simple_byref_const
CefPoint valVal = val ? *val : CefPoint();
@ -612,12 +649,14 @@ translator_test_get_point_by_ref(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: val; type: simple_byref
DCHECK(val);
if (!val)
if (!val) {
return;
}
// Translate param: val; type: simple_byref
CefPoint valVal = val ? *val : CefPoint();
@ -626,8 +665,9 @@ translator_test_get_point_by_ref(struct _cef_translator_test_t* self,
CefTranslatorTestCppToC::Get(self)->GetPointByRef(valVal);
// Restore param: val; type: simple_byref
if (val)
if (val) {
*val = valVal;
}
}
int CEF_CALLBACK
@ -639,12 +679,14 @@ translator_test_set_point_list(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: simple_vec_byref_const
DCHECK(valCount == 0 || val);
if (valCount > 0 && !val)
if (valCount > 0 && !val) {
return 0;
}
// Translate param: val; type: simple_vec_byref_const
std::vector<CefPoint> valList;
@ -671,12 +713,14 @@ translator_test_get_point_list_by_ref(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: simple_vec_byref
DCHECK(valCount && (*valCount == 0 || val));
if (!valCount || (*valCount > 0 && !val))
if (!valCount || (*valCount > 0 && !val)) {
return 0;
}
// Translate param: val; type: simple_vec_byref
std::vector<CefPoint> valList;
@ -710,8 +754,9 @@ translator_test_get_point_list_size(struct _cef_translator_test_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
size_t _retval = CefTranslatorTestCppToC::Get(self)->GetPointListSize();
@ -728,8 +773,9 @@ translator_test_get_ref_ptr_library(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Execute
CefRefPtr<CefTranslatorTestRefPtrLibrary> _retval =
@ -747,12 +793,14 @@ int CEF_CALLBACK translator_test_set_ref_ptr_library(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_same
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetRefPtrLibrary(
@ -771,12 +819,14 @@ translator_test_set_ref_ptr_library_and_return(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: refptr_same
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Execute
CefRefPtr<CefTranslatorTestRefPtrLibrary> _retval =
@ -795,12 +845,14 @@ int CEF_CALLBACK translator_test_set_child_ref_ptr_library(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_same
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetChildRefPtrLibrary(
@ -819,12 +871,14 @@ translator_test_set_child_ref_ptr_library_and_return_parent(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: refptr_same
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Execute
CefRefPtr<CefTranslatorTestRefPtrLibrary> _retval =
@ -846,12 +900,14 @@ int CEF_CALLBACK translator_test_set_ref_ptr_library_list(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_vec_same_byref_const
DCHECK(valCount == 0 || val);
if (valCount > 0 && !val)
if (valCount > 0 && !val) {
return 0;
}
// Translate param: val; type: refptr_vec_same_byref_const
std::vector<CefRefPtr<CefTranslatorTestRefPtrLibrary>> valList;
@ -882,12 +938,14 @@ int CEF_CALLBACK translator_test_get_ref_ptr_library_list_by_ref(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_vec_same_byref
DCHECK(valCount && (*valCount == 0 || val));
if (!valCount || (*valCount > 0 && !val))
if (!valCount || (*valCount > 0 && !val)) {
return 0;
}
// Translate param: val; type: refptr_vec_same_byref
std::vector<CefRefPtr<CefTranslatorTestRefPtrLibrary>> valList;
@ -922,8 +980,9 @@ size_t CEF_CALLBACK translator_test_get_ref_ptr_library_list_size(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
size_t _retval =
@ -941,12 +1000,14 @@ int CEF_CALLBACK translator_test_set_ref_ptr_client(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_diff
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetRefPtrClient(
@ -965,12 +1026,14 @@ translator_test_set_ref_ptr_client_and_return(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: refptr_diff
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Execute
CefRefPtr<CefTranslatorTestRefPtrClient> _retval =
@ -989,12 +1052,14 @@ int CEF_CALLBACK translator_test_set_child_ref_ptr_client(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_diff
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetChildRefPtrClient(
@ -1013,12 +1078,14 @@ translator_test_set_child_ref_ptr_client_and_return_parent(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: refptr_diff
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Execute
CefRefPtr<CefTranslatorTestRefPtrClient> _retval =
@ -1040,12 +1107,14 @@ int CEF_CALLBACK translator_test_set_ref_ptr_client_list(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_vec_diff_byref_const
DCHECK(valCount == 0 || val);
if (valCount > 0 && !val)
if (valCount > 0 && !val) {
return 0;
}
// Translate param: val; type: refptr_vec_diff_byref_const
std::vector<CefRefPtr<CefTranslatorTestRefPtrClient>> valList;
@ -1076,20 +1145,24 @@ int CEF_CALLBACK translator_test_get_ref_ptr_client_list_by_ref(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: refptr_vec_diff_byref
DCHECK(valCount && (*valCount == 0 || val));
if (!valCount || (*valCount > 0 && !val))
if (!valCount || (*valCount > 0 && !val)) {
return 0;
}
// Verify param: val1; type: refptr_diff
DCHECK(val1);
if (!val1)
if (!val1) {
return 0;
}
// Verify param: val2; type: refptr_diff
DCHECK(val2);
if (!val2)
if (!val2) {
return 0;
}
// Translate param: val; type: refptr_vec_diff_byref
std::vector<CefRefPtr<CefTranslatorTestRefPtrClient>> valList;
@ -1125,8 +1198,9 @@ size_t CEF_CALLBACK translator_test_get_ref_ptr_client_list_size(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
size_t _retval =
@ -1144,8 +1218,9 @@ translator_test_get_own_ptr_library(struct _cef_translator_test_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Execute
CefOwnPtr<CefTranslatorTestScopedLibrary> _retval =
@ -1163,12 +1238,14 @@ int CEF_CALLBACK translator_test_set_own_ptr_library(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: ownptr_same
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetOwnPtrLibrary(
@ -1187,12 +1264,14 @@ translator_test_set_own_ptr_library_and_return(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: ownptr_same
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Execute
CefOwnPtr<CefTranslatorTestScopedLibrary> _retval =
@ -1211,12 +1290,14 @@ int CEF_CALLBACK translator_test_set_child_own_ptr_library(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: ownptr_same
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetChildOwnPtrLibrary(
@ -1235,12 +1316,14 @@ translator_test_set_child_own_ptr_library_and_return_parent(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: ownptr_same
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Execute
CefOwnPtr<CefTranslatorTestScopedLibrary> _retval =
@ -1259,12 +1342,14 @@ int CEF_CALLBACK translator_test_set_own_ptr_client(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: ownptr_diff
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: ownptr_diff
CefOwnPtr<CefTranslatorTestScopedClient> valPtr(
@ -1287,12 +1372,14 @@ translator_test_set_own_ptr_client_and_return(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: ownptr_diff
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Translate param: val; type: ownptr_diff
CefOwnPtr<CefTranslatorTestScopedClient> valPtr(
@ -1315,12 +1402,14 @@ int CEF_CALLBACK translator_test_set_child_own_ptr_client(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: ownptr_diff
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: ownptr_diff
CefOwnPtr<CefTranslatorTestScopedClientChild> valPtr(
@ -1343,12 +1432,14 @@ translator_test_set_child_own_ptr_client_and_return_parent(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return NULL;
}
// Verify param: val; type: ownptr_diff
DCHECK(val);
if (!val)
if (!val) {
return NULL;
}
// Translate param: val; type: ownptr_diff
CefOwnPtr<CefTranslatorTestScopedClientChild> valPtr(
@ -1371,12 +1462,14 @@ int CEF_CALLBACK translator_test_set_raw_ptr_library(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: rawptr_same
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetRawPtrLibrary(
@ -1394,12 +1487,14 @@ int CEF_CALLBACK translator_test_set_child_raw_ptr_library(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: rawptr_same
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Execute
int _retval = CefTranslatorTestCppToC::Get(self)->SetChildRawPtrLibrary(
@ -1420,12 +1515,14 @@ int CEF_CALLBACK translator_test_set_raw_ptr_library_list(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: rawptr_vec_same_byref_const
DCHECK(valCount == 0 || val);
if (valCount > 0 && !val)
if (valCount > 0 && !val) {
return 0;
}
// Translate param: val; type: rawptr_vec_same_byref_const
std::vector<CefRawPtr<CefTranslatorTestScopedLibrary>> valList;
@ -1453,12 +1550,14 @@ int CEF_CALLBACK translator_test_set_raw_ptr_client(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: rawptr_diff
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: rawptr_diff
CefOwnPtr<CefTranslatorTestScopedClient> valPtr(
@ -1480,12 +1579,14 @@ int CEF_CALLBACK translator_test_set_child_raw_ptr_client(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: rawptr_diff
DCHECK(val);
if (!val)
if (!val) {
return 0;
}
// Translate param: val; type: rawptr_diff
CefOwnPtr<CefTranslatorTestScopedClientChild> valPtr(
@ -1510,12 +1611,14 @@ int CEF_CALLBACK translator_test_set_raw_ptr_client_list(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: val; type: rawptr_vec_diff_byref_const
DCHECK(valCount == 0 || val);
if (valCount > 0 && !val)
if (valCount > 0 && !val) {
return 0;
}
// Translate param: val; type: rawptr_vec_diff_byref_const
std::vector<CefRawPtr<CefTranslatorTestScopedClient>> valList;

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=aeae16842d711fd6e5d54cd14333d27cbc06c400$
// $hash=5f0f8e9729af10fb258c197facf57ae150969f1a$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_CPPTOC_H_

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=5eb9ef23f60f99db031e0e3da6cdfc81c979f5ff$
// $hash=56384b27dfcbd43965ef7fd5bf521d56fb40766d$
//
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_client_child_cpptoc.h"
@ -26,8 +26,9 @@ int CEF_CALLBACK translator_test_ref_ptr_client_child_get_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -44,8 +45,9 @@ int CEF_CALLBACK translator_test_ref_ptr_client_child_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =

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=f84f12aa3e444b6ae98c620147bdacf6c32af8df$
// $hash=b6731cceb5f02011f2bafe6afa336b95355a1bf0$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_CLIENT_CHILD_CPPTOC_H_

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=f331b4d8e20683281cee5cf873950c236fc6cffd$
// $hash=c1cde9099d0161a04f31e595bde4c6466b490d8b$
//
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_client_cpptoc.h"
@ -27,8 +27,9 @@ int CEF_CALLBACK translator_test_ref_ptr_client_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval = CefTranslatorTestRefPtrClientCppToC::Get(self)->GetValue();

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=abcdf3e219cfeac25ddf87a82c173189d0707bbd$
// $hash=871a3626f0e6928f2b1094b6fd01175f2bc82a29$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_CLIENT_CPPTOC_H_

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=693175fcf035e056074e56a8a5e39e3f5d1c218d$
// $hash=178ed72ca63c4bceca77fbec9581f6d36e6dbaa3$
//
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_child_child_cpptoc.h"
@ -46,8 +46,9 @@ translator_test_ref_ptr_library_child_child_get_other_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval = CefTranslatorTestRefPtrLibraryChildChildCppToC::Get(self)
@ -66,8 +67,9 @@ translator_test_ref_ptr_library_child_child_set_other_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestRefPtrLibraryChildChildCppToC::Get(self)->SetOtherOtherValue(
@ -81,8 +83,9 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_child_get_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -103,8 +106,9 @@ void CEF_CALLBACK translator_test_ref_ptr_library_child_child_set_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestRefPtrLibraryChildChildCppToC::Get(
@ -120,8 +124,9 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_child_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -142,8 +147,9 @@ void CEF_CALLBACK translator_test_ref_ptr_library_child_child_set_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestRefPtrLibraryChildChildCppToC::Get(

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=602040c56e366821ec632f5675d22d5b1787d046$
// $hash=c578229af8491c038b4a036ca870c5dd268b9244$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CHILD_CHILD_CPPTOC_H_

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=8331f68f4339fbe375428550af8c793d455ef432$
// $hash=f1156abd7d5a26d954f9c4de9f1666be7e2ab0ce$
//
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_child_cpptoc.h"
@ -43,8 +43,9 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_get_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -62,8 +63,9 @@ void CEF_CALLBACK translator_test_ref_ptr_library_child_set_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestRefPtrLibraryChildCppToC::Get(self)->SetOtherValue(value);
@ -76,8 +78,9 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -97,8 +100,9 @@ void CEF_CALLBACK translator_test_ref_ptr_library_child_set_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestRefPtrLibraryChildCppToC::Get(

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=80d99f15db9d7a39f51b24769104d2daeb100ef7$
// $hash=f138313a94a2c2943926df60ee5293f5dc9f62b8$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CHILD_CPPTOC_H_

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=215ecf50a38a26a660ebd9c9784ddba9ef9ac336$
// $hash=23a27436f99688bd141b939ef756cab4d47fe857$
//
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_cpptoc.h"
@ -44,8 +44,9 @@ int CEF_CALLBACK translator_test_ref_ptr_library_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval = CefTranslatorTestRefPtrLibraryCppToC::Get(self)->GetValue();
@ -62,8 +63,9 @@ void CEF_CALLBACK translator_test_ref_ptr_library_set_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestRefPtrLibraryCppToC::Get(self)->SetValue(value);

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=cf13344b75658fdc4d727598a1ca9cf1d2d9aebe$
// $hash=f431a7518ff642f5b307dbd716bfcd75c5bcb37a$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CPPTOC_H_

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=ba3de8f4ffca578355877eb66e19a61e337fab63$
// $hash=2444cafe9c59f007ea908c8e43a8f02376d57011$
//
#include "libcef_dll/cpptoc/test/translator_test_scoped_client_child_cpptoc.h"
@ -23,8 +23,9 @@ int CEF_CALLBACK translator_test_scoped_client_child_get_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -39,8 +40,9 @@ int CEF_CALLBACK translator_test_scoped_client_child_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =

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=3a46ac0b98d0a79f8506ffc09a5c3cdcca353f29$
// $hash=7a7900759a192fa0586d1ab7e2706c513ed9b715$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_CLIENT_CHILD_CPPTOC_H_

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=da43c88a9d20786247371fa3a69230862f8619a6$
// $hash=d19e196c418e6325718ada2866d37f6ee142d606$
//
#include "libcef_dll/cpptoc/test/translator_test_scoped_client_cpptoc.h"
@ -24,8 +24,9 @@ int CEF_CALLBACK translator_test_scoped_client_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval = CefTranslatorTestScopedClientCppToC::Get(self)->GetValue();

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=c639d2f671cbfeb508e95a481c0d81ee92b87c29$
// $hash=bf705a17d41da4d434c122928b0f55c8760d3689$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_CLIENT_CPPTOC_H_

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=428d7bab8b87fe39bf70e53c8bf1d0a50bf88c33$
// $hash=29014eb7cb86c46ed68a938cc862a1eed9335ee3$
//
#include "libcef_dll/cpptoc/test/translator_test_scoped_library_child_child_cpptoc.h"
@ -42,8 +42,9 @@ translator_test_scoped_library_child_child_get_other_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval = CefTranslatorTestScopedLibraryChildChildCppToC::Get(self)
@ -60,8 +61,9 @@ translator_test_scoped_library_child_child_set_other_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestScopedLibraryChildChildCppToC::Get(self)->SetOtherOtherValue(
@ -73,8 +75,9 @@ int CEF_CALLBACK translator_test_scoped_library_child_child_get_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -93,8 +96,9 @@ void CEF_CALLBACK translator_test_scoped_library_child_child_set_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestScopedLibraryChildChildCppToC::Get(
@ -107,8 +111,9 @@ int CEF_CALLBACK translator_test_scoped_library_child_child_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -127,8 +132,9 @@ void CEF_CALLBACK translator_test_scoped_library_child_child_set_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestScopedLibraryChildChildCppToC::Get(

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=26db238e377ea4db7b6c005d00dcaf270be64ce6$
// $hash=333a572bf8bb3cde5058ae36410b571d777cd157$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CHILD_CHILD_CPPTOC_H_

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=c7dafd30c4f75e38e507feabdc40dc234d21a06b$
// $hash=3fb60285776c7480d0909430c04b3fe5a0c257be$
//
#include "libcef_dll/cpptoc/test/translator_test_scoped_library_child_cpptoc.h"
@ -38,8 +38,9 @@ int CEF_CALLBACK translator_test_scoped_library_child_get_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -55,8 +56,9 @@ void CEF_CALLBACK translator_test_scoped_library_child_set_other_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestScopedLibraryChildCppToC::Get(self)->SetOtherValue(value);
@ -67,8 +69,9 @@ int CEF_CALLBACK translator_test_scoped_library_child_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval =
@ -86,8 +89,9 @@ void CEF_CALLBACK translator_test_scoped_library_child_set_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestScopedLibraryChildCppToC::Get(

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=87924524eab4c309d13dc3e9656c601fd65c7449$
// $hash=df48c52988d69bfd94bc4245d1c2069f45512f7a$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CHILD_CPPTOC_H_

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=442b86286b5b3126fd0a0f0849ca661ef7487fb3$
// $hash=9aeefcb3a387576c2a7ef206b9bcf57ac9c7f060$
//
#include "libcef_dll/cpptoc/test/translator_test_scoped_library_cpptoc.h"
@ -39,8 +39,9 @@ int CEF_CALLBACK translator_test_scoped_library_get_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Execute
int _retval = CefTranslatorTestScopedLibraryCppToC::Get(self)->GetValue();
@ -55,8 +56,9 @@ void CEF_CALLBACK translator_test_scoped_library_set_value(
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Execute
CefTranslatorTestScopedLibraryCppToC::Get(self)->SetValue(value);

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=43b0a0576a86ba1d2dda27c83af22554da773221$
// $hash=029af2aa3f312b751ca30b039f22e5c4fbd42295$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CPPTOC_H_