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=89f651178065dbc03e70e763085bf9125dda6640$
|
||||
// $hash=91026e0ecc2c0ef824ed8727e1bdbc21c17eea74$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/download_handler_cpptoc.h"
|
||||
@ -33,20 +33,24 @@ download_handler_can_download(struct _cef_download_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: request_method; type: string_byref_const
|
||||
DCHECK(request_method);
|
||||
if (!request_method)
|
||||
if (!request_method) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDownloadHandlerCppToC::Get(self)->CanDownload(
|
||||
@ -68,24 +72,29 @@ download_handler_on_before_download(struct _cef_download_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: download_item; type: refptr_diff
|
||||
DCHECK(download_item);
|
||||
if (!download_item)
|
||||
if (!download_item) {
|
||||
return;
|
||||
}
|
||||
// Verify param: suggested_name; type: string_byref_const
|
||||
DCHECK(suggested_name);
|
||||
if (!suggested_name)
|
||||
if (!suggested_name) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDownloadHandlerCppToC::Get(self)->OnBeforeDownload(
|
||||
@ -104,20 +113,24 @@ download_handler_on_download_updated(struct _cef_download_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: download_item; type: refptr_diff
|
||||
DCHECK(download_item);
|
||||
if (!download_item)
|
||||
if (!download_item) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDownloadHandlerCppToC::Get(self)->OnDownloadUpdated(
|
||||
|
Reference in New Issue
Block a user