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=e675ed75d36a3ce409ed3131229fb591f7e1a05a$
|
||||
// $hash=f620145f59aad5bc92c729dc876e9c094b06a541$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/cookie_manager_ctocpp.h"
|
||||
@@ -41,15 +41,17 @@ NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::VisitAllCookies(
|
||||
CefRefPtr<CefCookieVisitor> visitor) {
|
||||
cef_cookie_manager_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, visit_all_cookies))
|
||||
if (CEF_MEMBER_MISSING(_struct, visit_all_cookies)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor.get());
|
||||
if (!visitor.get())
|
||||
if (!visitor.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->visit_all_cookies(
|
||||
@@ -65,19 +67,22 @@ bool CefCookieManagerCToCpp::VisitUrlCookies(
|
||||
bool includeHttpOnly,
|
||||
CefRefPtr<CefCookieVisitor> visitor) {
|
||||
cef_cookie_manager_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, visit_url_cookies))
|
||||
if (CEF_MEMBER_MISSING(_struct, visit_url_cookies)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(!url.empty());
|
||||
if (url.empty())
|
||||
if (url.empty()) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor.get());
|
||||
if (!visitor.get())
|
||||
if (!visitor.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -94,15 +99,17 @@ bool CefCookieManagerCToCpp::SetCookie(
|
||||
const CefCookie& cookie,
|
||||
CefRefPtr<CefSetCookieCallback> callback) {
|
||||
cef_cookie_manager_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_cookie))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_cookie)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(!url.empty());
|
||||
if (url.empty())
|
||||
if (url.empty()) {
|
||||
return false;
|
||||
}
|
||||
// Unverified params: callback
|
||||
|
||||
// Execute
|
||||
@@ -119,8 +126,9 @@ bool CefCookieManagerCToCpp::DeleteCookies(
|
||||
const CefString& cookie_name,
|
||||
CefRefPtr<CefDeleteCookiesCallback> callback) {
|
||||
cef_cookie_manager_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, delete_cookies))
|
||||
if (CEF_MEMBER_MISSING(_struct, delete_cookies)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -139,8 +147,9 @@ NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::FlushStore(
|
||||
CefRefPtr<CefCompletionCallback> callback) {
|
||||
cef_cookie_manager_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, flush_store))
|
||||
if (CEF_MEMBER_MISSING(_struct, flush_store)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user