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=33a691883b3956a4e2fa2937ab8dc42dc80d78c8$
|
||||
// $hash=3c1bf66c510b9f2d4a63bb400b37b93e9f555349$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/media_router_ctocpp.h"
|
||||
@@ -48,15 +48,17 @@ CefRefPtr<CefRegistration> CefMediaRouterCToCpp::AddObserver(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_media_router_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_observer))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_observer)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: observer; type: refptr_diff
|
||||
DCHECK(observer.get());
|
||||
if (!observer.get())
|
||||
if (!observer.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_registration_t* _retval =
|
||||
@@ -72,15 +74,17 @@ CefRefPtr<CefMediaSource> CefMediaRouterCToCpp::GetSource(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_media_router_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_source))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_source)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: urn; type: string_byref_const
|
||||
DCHECK(!urn.empty());
|
||||
if (urn.empty())
|
||||
if (urn.empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_media_source_t* _retval = _struct->get_source(_struct, urn.GetStruct());
|
||||
@@ -93,8 +97,9 @@ NO_SANITIZE("cfi-icall") void CefMediaRouterCToCpp::NotifyCurrentSinks() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_media_router_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_current_sinks))
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_current_sinks)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -110,23 +115,27 @@ void CefMediaRouterCToCpp::CreateRoute(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_media_router_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, create_route))
|
||||
if (CEF_MEMBER_MISSING(_struct, create_route)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: source; type: refptr_same
|
||||
DCHECK(source.get());
|
||||
if (!source.get())
|
||||
if (!source.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: sink; type: refptr_same
|
||||
DCHECK(sink.get());
|
||||
if (!sink.get())
|
||||
if (!sink.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback.get());
|
||||
if (!callback.get())
|
||||
if (!callback.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->create_route(_struct, CefMediaSourceCToCpp::Unwrap(source),
|
||||
@@ -138,8 +147,9 @@ NO_SANITIZE("cfi-icall") void CefMediaRouterCToCpp::NotifyCurrentRoutes() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_media_router_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_current_routes))
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_current_routes)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user