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=35161ccb0b72898e250d905b4b245b4839fe7ecc$
// $hash=f4164c6761097fed20cf8ef4a42784f193f141af$
//
#include "libcef_dll/cpptoc/v8accessor_cpptoc.h"
@ -27,29 +27,35 @@ int CEF_CALLBACK v8accessor_get(struct _cef_v8accessor_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: name; type: string_byref_const
DCHECK(name);
if (!name)
if (!name) {
return 0;
}
// Verify param: object; type: refptr_diff
DCHECK(object);
if (!object)
if (!object) {
return 0;
}
// Verify param: retval; type: refptr_diff_byref
DCHECK(retval);
if (!retval)
if (!retval) {
return 0;
}
// Verify param: exception; type: string_byref
DCHECK(exception);
if (!exception)
if (!exception) {
return 0;
}
// Translate param: retval; type: refptr_diff_byref
CefRefPtr<CefV8Value> retvalPtr;
if (retval && *retval)
if (retval && *retval) {
retvalPtr = CefV8ValueCToCpp::Wrap(*retval);
}
CefV8Value* retvalOrig = retvalPtr.get();
// Translate param: exception; type: string_byref
CefString exceptionStr(exception);
@ -81,24 +87,29 @@ int CEF_CALLBACK v8accessor_set(struct _cef_v8accessor_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: name; type: string_byref_const
DCHECK(name);
if (!name)
if (!name) {
return 0;
}
// Verify param: object; type: refptr_diff
DCHECK(object);
if (!object)
if (!object) {
return 0;
}
// Verify param: value; type: refptr_diff
DCHECK(value);
if (!value)
if (!value) {
return 0;
}
// Verify param: exception; type: string_byref
DCHECK(exception);
if (!exception)
if (!exception) {
return 0;
}
// Translate param: exception; type: string_byref
CefString exceptionStr(exception);