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=519a82bbea84ea39cadc72c55291e15cb2a74072$
|
||||
// $hash=0e814467a4d428a493930a3e72123dfd6721786e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/audio_handler_cpptoc.h"
|
||||
@ -29,16 +29,19 @@ audio_handler_get_audio_parameters(struct _cef_audio_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: params; type: simple_byref
|
||||
DCHECK(params);
|
||||
if (!params)
|
||||
if (!params) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: params; type: simple_byref
|
||||
CefAudioParameters paramsVal = params ? *params : CefAudioParameters();
|
||||
@ -48,8 +51,9 @@ audio_handler_get_audio_parameters(struct _cef_audio_handler_t* self,
|
||||
CefBrowserCToCpp::Wrap(browser), paramsVal);
|
||||
|
||||
// Restore param: params; type: simple_byref
|
||||
if (params)
|
||||
if (params) {
|
||||
*params = paramsVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@ -65,16 +69,19 @@ audio_handler_on_audio_stream_started(struct _cef_audio_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: params; type: simple_byref_const
|
||||
DCHECK(params);
|
||||
if (!params)
|
||||
if (!params) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: params; type: simple_byref_const
|
||||
CefAudioParameters paramsVal = params ? *params : CefAudioParameters();
|
||||
@ -95,16 +102,19 @@ audio_handler_on_audio_stream_packet(struct _cef_audio_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: data; type: simple_byaddr
|
||||
DCHECK(data);
|
||||
if (!data)
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAudioHandlerCppToC::Get(self)->OnAudioStreamPacket(
|
||||
@ -119,12 +129,14 @@ audio_handler_on_audio_stream_stopped(struct _cef_audio_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;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAudioHandlerCppToC::Get(self)->OnAudioStreamStopped(
|
||||
@ -140,16 +152,19 @@ audio_handler_on_audio_stream_error(struct _cef_audio_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: message; type: string_byref_const
|
||||
DCHECK(message);
|
||||
if (!message)
|
||||
if (!message) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAudioHandlerCppToC::Get(self)->OnAudioStreamError(
|
||||
|
Reference in New Issue
Block a user