Update generated files for NULL to nullptr conversion (see issue #2861)

This commit is contained in:
Marshall Greenblatt
2020-01-15 14:53:19 +01:00
parent 7a701546e1
commit 97d559982e
291 changed files with 909 additions and 909 deletions

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=6e3cf555331ede2dcdf9327e9b607159995040b0$
// $hash=8bd602ae38dd8210a27c6fc0671c97d79268633c$
//
#include "libcef_dll/ctocpp/accessibility_handler_ctocpp.h"
@@ -76,7 +76,7 @@ cef_accessibility_handler_t* CefCToCppRefCounted<
cef_accessibility_handler_t>::UnwrapDerived(CefWrapperType type,
CefAccessibilityHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=2dd95768d6461fce4dd337201ebe8a5f097e754c$
// $hash=4f70dc8d5391cb5254f038ec2b3b56804b447087$
//
#include "libcef_dll/ctocpp/app_ctocpp.h"
@@ -69,7 +69,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefResourceBundleHandler> CefAppCToCpp::GetResourceBundleHandler() {
cef_app_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_resource_bundle_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -85,7 +85,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefBrowserProcessHandler> CefAppCToCpp::GetBrowserProcessHandler() {
cef_app_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_browser_process_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -101,7 +101,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefRenderProcessHandler> CefAppCToCpp::GetRenderProcessHandler() {
cef_app_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_render_process_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -126,7 +126,7 @@ cef_app_t* CefCToCppRefCounted<CefAppCToCpp, CefApp, cef_app_t>::UnwrapDerived(
CefWrapperType type,
CefApp* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=2518d6569047511d0d456f06d0633901e3631c78$
// $hash=54b2a86796e3c6936aa4475004d620677666a796$
//
#include "libcef_dll/ctocpp/auth_callback_ctocpp.h"
@@ -64,7 +64,7 @@ CefCToCppRefCounted<CefAuthCallbackCToCpp,
cef_auth_callback_t>::UnwrapDerived(CefWrapperType type,
CefAuthCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=80acec0f2efd94bad9a4de54cd9eb5c9e21d8f8b$
// $hash=be4b247da2987252e1471149aade76c4d4a34394$
//
#include "libcef_dll/ctocpp/before_download_callback_ctocpp.h"
@@ -52,7 +52,7 @@ cef_before_download_callback_t* CefCToCppRefCounted<
CefBeforeDownloadCallback*
c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a502e2f6c77a12c9d3ab5b511e7d2f701470ceb3$
// $hash=352b1570cd74cce646f914bf25fc97a749f15898$
//
#include "libcef_dll/ctocpp/binary_value_ctocpp.h"
@@ -27,7 +27,7 @@ CefRefPtr<CefBinaryValue> CefBinaryValue::Create(const void* data,
// Verify param: data; type: simple_byaddr
DCHECK(data);
if (!data)
return NULL;
return nullptr;
// Execute
cef_binary_value_t* _retval = cef_binary_value_create(data, data_size);
@@ -120,7 +120,7 @@ CefRefPtr<CefBinaryValue> CefBinaryValueCToCpp::Copy() {
cef_binary_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, copy))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -186,7 +186,7 @@ cef_binary_value_t*
CefCToCppRefCounted<CefBinaryValueCToCpp, CefBinaryValue, cef_binary_value_t>::
UnwrapDerived(CefWrapperType type, CefBinaryValue* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d4d9c9f4868c9dc5a087ce24452b3304b8dc3f47$
// $hash=9d16a2ca7a348181df0b026b3013d362170f7085$
//
#include "libcef_dll/ctocpp/browser_ctocpp.h"
@@ -26,7 +26,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefBrowserHost> CefBrowserCToCpp::GetHost() {
cef_browser_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_host))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -225,7 +225,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefFrame> CefBrowserCToCpp::GetMainFrame() {
cef_browser_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_main_frame))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -242,7 +242,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFocusedFrame() {
cef_browser_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_focused_frame))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -259,7 +259,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(int64 identifier) {
cef_browser_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_frame_byident))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -276,7 +276,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(const CefString& name) {
cef_browser_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_frame))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -388,7 +388,7 @@ CefCToCppRefCounted<CefBrowserCToCpp, CefBrowser, cef_browser_t>::UnwrapDerived(
CefWrapperType type,
CefBrowser* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f10b643c1840c390a06372bd94b83a95d6d6b602$
// $hash=9073823898d373a435ccdc56f2914aad91cbba1e$
//
#include "libcef_dll/ctocpp/browser_host_ctocpp.h"
@@ -85,7 +85,7 @@ CefRefPtr<CefBrowser> CefBrowserHostCToCpp::GetBrowser() {
cef_browser_host_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_browser))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -195,7 +195,7 @@ CefRefPtr<CefClient> CefBrowserHostCToCpp::GetClient() {
cef_browser_host_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_client))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -212,7 +212,7 @@ CefRefPtr<CefRequestContext> CefBrowserHostCToCpp::GetRequestContext() {
cef_browser_host_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_request_context))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -975,7 +975,7 @@ CefBrowserHostCToCpp::GetVisibleNavigationEntry() {
cef_browser_host_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_visible_navigation_entry))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -1024,7 +1024,7 @@ CefRefPtr<CefExtension> CefBrowserHostCToCpp::GetExtension() {
cef_browser_host_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_extension))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -1095,7 +1095,7 @@ cef_browser_host_t*
CefCToCppRefCounted<CefBrowserHostCToCpp, CefBrowserHost, cef_browser_host_t>::
UnwrapDerived(CefWrapperType type, CefBrowserHost* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5e228f6808cffe012917f3b7a450615a77e99f3a$
// $hash=622d56aec0a5d6485a586bd6d993df7af4fa2d62$
//
#include "libcef_dll/ctocpp/browser_process_handler_ctocpp.h"
@@ -73,7 +73,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefPrintHandler> CefBrowserProcessHandlerCToCpp::GetPrintHandler() {
cef_browser_process_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_print_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -111,7 +111,7 @@ cef_browser_process_handler_t* CefCToCppRefCounted<
cef_browser_process_handler_t>::UnwrapDerived(CefWrapperType type,
CefBrowserProcessHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=566313479bc00eab4e8385b3da0a8d543e9fd773$
// $hash=6d697bd19634711e28262d9df97887fd1abf47d6$
//
#include "libcef_dll/ctocpp/callback_ctocpp.h"
@@ -58,7 +58,7 @@ cef_callback_t*
CefCToCppRefCounted<CefCallbackCToCpp, CefCallback, cef_callback_t>::
UnwrapDerived(CefWrapperType type, CefCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fa49ebc3b49993f1080a3709f26658ee39d89838$
// $hash=cb91642733be3dfd60a0d848c41c71bbe06a835c$
//
#include "libcef_dll/ctocpp/client_ctocpp.h"
@@ -36,7 +36,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefContextMenuHandler> CefClientCToCpp::GetContextMenuHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_context_menu_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -52,7 +52,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefDialogHandler> CefClientCToCpp::GetDialogHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_dialog_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -67,7 +67,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefDisplayHandler> CefClientCToCpp::GetDisplayHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_display_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -82,7 +82,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefDownloadHandler> CefClientCToCpp::GetDownloadHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_download_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -97,7 +97,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefDragHandler> CefClientCToCpp::GetDragHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_drag_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -112,7 +112,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefFindHandler> CefClientCToCpp::GetFindHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_find_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -127,7 +127,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefFocusHandler> CefClientCToCpp::GetFocusHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_focus_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -142,7 +142,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefJSDialogHandler> CefClientCToCpp::GetJSDialogHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_jsdialog_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -157,7 +157,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefKeyboardHandler> CefClientCToCpp::GetKeyboardHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_keyboard_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -172,7 +172,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefLifeSpanHandler> CefClientCToCpp::GetLifeSpanHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_life_span_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -187,7 +187,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefLoadHandler> CefClientCToCpp::GetLoadHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_load_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -202,7 +202,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefRenderHandler> CefClientCToCpp::GetRenderHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_render_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -217,7 +217,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefRequestHandler> CefClientCToCpp::GetRequestHandler() {
cef_client_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_request_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -276,7 +276,7 @@ CefCToCppRefCounted<CefClientCToCpp, CefClient, cef_client_t>::UnwrapDerived(
CefWrapperType type,
CefClient* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a5b7f2c9c304d4165496c611a56f2a177f45a87b$
// $hash=7d5995f534719bf6466eb174f50027cc57db98ef$
//
#include "libcef_dll/ctocpp/command_line_ctocpp.h"
@@ -24,7 +24,7 @@ CefRefPtr<CefCommandLine> CefCommandLine::CreateCommandLine() {
if (strcmp(api_hash, CEF_API_HASH_PLATFORM)) {
// The libcef API hash does not match the current header API hash.
NOTREACHED();
return NULL;
return nullptr;
}
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -42,7 +42,7 @@ CefRefPtr<CefCommandLine> CefCommandLine::GetGlobalCommandLine() {
if (strcmp(api_hash, CEF_API_HASH_PLATFORM)) {
// The libcef API hash does not match the current header API hash.
NOTREACHED();
return NULL;
return nullptr;
}
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -88,7 +88,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefCommandLine> CefCommandLineCToCpp::Copy() {
cef_command_line_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, copy))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -427,7 +427,7 @@ cef_command_line_t*
CefCToCppRefCounted<CefCommandLineCToCpp, CefCommandLine, cef_command_line_t>::
UnwrapDerived(CefWrapperType type, CefCommandLine* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ea9ea905fe35a01c4d3fa9d2b7a946cea1834d02$
// $hash=2193f30ba657212718712739c7b48dd9b84b7bb8$
//
#include "libcef_dll/ctocpp/completion_callback_ctocpp.h"
@@ -47,7 +47,7 @@ cef_completion_callback_t* CefCToCppRefCounted<
cef_completion_callback_t>::UnwrapDerived(CefWrapperType type,
CefCompletionCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ccd8da2aca2f5cc4343b2b8c03cf5394066aa3ed$
// $hash=d0eec19bee7cbc38c676ef6ca936483cc93bb7fc$
//
#include "libcef_dll/ctocpp/context_menu_handler_ctocpp.h"
@@ -186,7 +186,7 @@ cef_context_menu_handler_t* CefCToCppRefCounted<
cef_context_menu_handler_t>::UnwrapDerived(CefWrapperType type,
CefContextMenuHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=49c9f328dd09ab88f1742e360fdfd1c69c248970$
// $hash=7a5343c03a9b84f8831be8b9c7e5d2f35c62983c$
//
#include "libcef_dll/ctocpp/context_menu_params_ctocpp.h"
@@ -417,7 +417,7 @@ cef_context_menu_params_t* CefCToCppRefCounted<
cef_context_menu_params_t>::UnwrapDerived(CefWrapperType type,
CefContextMenuParams* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=c706fccd3fb75be65b692cede89f2b6982991285$
// $hash=18ad9a46ee3ff980745b796013de06379659f611$
//
#include "libcef_dll/ctocpp/cookie_access_filter_ctocpp.h"
@@ -93,7 +93,7 @@ cef_cookie_access_filter_t* CefCToCppRefCounted<
cef_cookie_access_filter_t>::UnwrapDerived(CefWrapperType type,
CefCookieAccessFilter* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=4765074e73b5685fdd8274c0e86fd15e1e3aaa28$
// $hash=ce618780672b92c6a5f4468b24bdf6c15abe7a82$
//
#include "libcef_dll/ctocpp/cookie_manager_ctocpp.h"
@@ -198,7 +198,7 @@ CefCToCppRefCounted<CefCookieManagerCToCpp,
cef_cookie_manager_t>::UnwrapDerived(CefWrapperType type,
CefCookieManager* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=4aa9cb6048e4547fe6a5f115ca3bd438f00b99eb$
// $hash=2fb5cbc3fb182cdc5548139ca7256916148984d7$
//
#include "libcef_dll/ctocpp/cookie_visitor_ctocpp.h"
@@ -61,7 +61,7 @@ CefCToCppRefCounted<CefCookieVisitorCToCpp,
cef_cookie_visitor_t>::UnwrapDerived(CefWrapperType type,
CefCookieVisitor* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=2f7a15f27c44d72da6d9976391f502cdb8d9774e$
// $hash=c9c0bf488733d065951d9c989e622fedb67536a0$
//
#include "libcef_dll/ctocpp/delete_cookies_callback_ctocpp.h"
@@ -48,7 +48,7 @@ cef_delete_cookies_callback_t* CefCToCppRefCounted<
cef_delete_cookies_callback_t>::UnwrapDerived(CefWrapperType type,
CefDeleteCookiesCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=577dbc869474862c56ebb8ba0ec88dffdfbb2041$
// $hash=ad47bb8d870deaf5d51606f6c2bce0105eccdd4b$
//
#include "libcef_dll/ctocpp/dialog_handler_ctocpp.h"
@@ -88,7 +88,7 @@ CefCToCppRefCounted<CefDialogHandlerCToCpp,
cef_dialog_handler_t>::UnwrapDerived(CefWrapperType type,
CefDialogHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3ad6b3c8233236177290a95017941cf81c6c8c34$
// $hash=e7dcf32d390886ac5690380fbf034c8daadec891$
//
#include "libcef_dll/ctocpp/dictionary_value_ctocpp.h"
@@ -137,7 +137,7 @@ CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::Copy(
cef_dictionary_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, copy))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -282,14 +282,14 @@ CefRefPtr<CefValue> CefDictionaryValueCToCpp::GetValue(const CefString& key) {
cef_dictionary_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_value))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: key; type: string_byref_const
DCHECK(!key.empty());
if (key.empty())
return NULL;
return nullptr;
// Execute
cef_value_t* _retval = _struct->get_value(_struct, key.GetStruct());
@@ -395,14 +395,14 @@ CefRefPtr<CefBinaryValue> CefDictionaryValueCToCpp::GetBinary(
cef_dictionary_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_binary))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: key; type: string_byref_const
DCHECK(!key.empty());
if (key.empty())
return NULL;
return nullptr;
// Execute
cef_binary_value_t* _retval = _struct->get_binary(_struct, key.GetStruct());
@@ -418,14 +418,14 @@ CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::GetDictionary(
cef_dictionary_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_dictionary))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: key; type: string_byref_const
DCHECK(!key.empty());
if (key.empty())
return NULL;
return nullptr;
// Execute
cef_dictionary_value_t* _retval =
@@ -442,14 +442,14 @@ CefRefPtr<CefListValue> CefDictionaryValueCToCpp::GetList(
cef_dictionary_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_list))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: key; type: string_byref_const
DCHECK(!key.empty());
if (key.empty())
return NULL;
return nullptr;
// Execute
cef_list_value_t* _retval = _struct->get_list(_struct, key.GetStruct());
@@ -701,7 +701,7 @@ cef_dictionary_value_t* CefCToCppRefCounted<
cef_dictionary_value_t>::UnwrapDerived(CefWrapperType type,
CefDictionaryValue* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fbb4ca7d80f07a06f32d9383aa173fae0d9eefd5$
// $hash=11c971f10c02ae341f62e70dca05528f78c8d1a2$
//
#include "libcef_dll/ctocpp/display_handler_ctocpp.h"
@@ -266,7 +266,7 @@ cef_display_handler_t* CefCToCppRefCounted<
cef_display_handler_t>::UnwrapDerived(CefWrapperType type,
CefDisplayHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=77749849f5fb037982dcb9817315ad48610f6cf3$
// $hash=6cb38f54146095f4335340ef3183115c4142c30b$
//
#include "libcef_dll/ctocpp/domdocument_ctocpp.h"
@@ -40,7 +40,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetDocument() {
cef_domdocument_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_document))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -56,7 +56,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetBody() {
cef_domdocument_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_body))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -72,7 +72,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetHead() {
cef_domdocument_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_head))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -108,14 +108,14 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetElementById(
cef_domdocument_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_element_by_id))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: id; type: string_byref_const
DCHECK(!id.empty());
if (id.empty())
return NULL;
return nullptr;
// Execute
cef_domnode_t* _retval = _struct->get_element_by_id(_struct, id.GetStruct());
@@ -130,7 +130,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetFocusedNode() {
cef_domdocument_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_focused_node))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -284,7 +284,7 @@ cef_domdocument_t*
CefCToCppRefCounted<CefDOMDocumentCToCpp, CefDOMDocument, cef_domdocument_t>::
UnwrapDerived(CefWrapperType type, CefDOMDocument* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1ce4fc13c71f463965cf86d26d5d16cce395e36b$
// $hash=3f18ade9d60d3b383161ac49e65f61eb62887774$
//
#include "libcef_dll/ctocpp/domnode_ctocpp.h"
@@ -223,7 +223,7 @@ CefRefPtr<CefDOMDocument> CefDOMNodeCToCpp::GetDocument() {
cef_domnode_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_document))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -239,7 +239,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetParent() {
cef_domnode_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_parent))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -256,7 +256,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetPreviousSibling() {
cef_domnode_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_previous_sibling))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -273,7 +273,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetNextSibling() {
cef_domnode_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_next_sibling))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -306,7 +306,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetFirstChild() {
cef_domnode_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_first_child))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -323,7 +323,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetLastChild() {
cef_domnode_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_last_child))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -520,7 +520,7 @@ CefCToCppRefCounted<CefDOMNodeCToCpp, CefDOMNode, cef_domnode_t>::UnwrapDerived(
CefWrapperType type,
CefDOMNode* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fe5aa227ebc629494d309a228f7decf575dca702$
// $hash=e34ff7db1264daf93af8cb95913daa3750ada3b0$
//
#include "libcef_dll/ctocpp/domvisitor_ctocpp.h"
@@ -52,7 +52,7 @@ cef_domvisitor_t*
CefCToCppRefCounted<CefDOMVisitorCToCpp, CefDOMVisitor, cef_domvisitor_t>::
UnwrapDerived(CefWrapperType type, CefDOMVisitor* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3d0810666bd0d1d0268804ec142928ab71cdf705$
// $hash=667fe6d2620ca95df5e503f6332cf3e2342032ff$
//
#include "libcef_dll/ctocpp/download_handler_ctocpp.h"
@@ -108,7 +108,7 @@ cef_download_handler_t* CefCToCppRefCounted<
cef_download_handler_t>::UnwrapDerived(CefWrapperType type,
CefDownloadHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=301a972d95ae8ff41174ec6e7b0574be5ccf131e$
// $hash=ec0d6a1abada255681087caf7a9db1bba5e90a7b$
//
#include "libcef_dll/ctocpp/download_image_callback_ctocpp.h"
@@ -60,7 +60,7 @@ cef_download_image_callback_t* CefCToCppRefCounted<
cef_download_image_callback_t>::UnwrapDerived(CefWrapperType type,
CefDownloadImageCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=2bd8c9b2079eff2b399dea44a1e8d21f2f488276$
// $hash=bf55af2dad90c3fe81e337640709f31005ba8a8e$
//
#include "libcef_dll/ctocpp/download_item_callback_ctocpp.h"
@@ -73,7 +73,7 @@ cef_download_item_callback_t* CefCToCppRefCounted<
cef_download_item_callback_t>::UnwrapDerived(CefWrapperType type,
CefDownloadItemCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d12f9b8326f91395f8b01c467d53db7f6726ca7a$
// $hash=2df7e7e66fe8562a16d2d3f1b9068eac73eb444c$
//
#include "libcef_dll/ctocpp/download_item_ctocpp.h"
@@ -320,7 +320,7 @@ CefCToCppRefCounted<CefDownloadItemCToCpp,
cef_download_item_t>::UnwrapDerived(CefWrapperType type,
CefDownloadItem* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ecdd9b926abc011ae6c2b5318b0ef7f5660c2107$
// $hash=3c09e3dd7fb76abe189934ca434a74af29ac9954$
//
#include "libcef_dll/ctocpp/drag_data_ctocpp.h"
@@ -39,7 +39,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefDragData> CefDragDataCToCpp::Clone() {
cef_drag_data_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, clone))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -425,7 +425,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefImage> CefDragDataCToCpp::GetImage() {
cef_drag_data_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_image))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -483,7 +483,7 @@ cef_drag_data_t*
CefCToCppRefCounted<CefDragDataCToCpp, CefDragData, cef_drag_data_t>::
UnwrapDerived(CefWrapperType type, CefDragData* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f8315e0604538f4aad73a97305181ea22cb14775$
// $hash=1aa70a0c640336bc3569f151bfba80d675b4c07e$
//
#include "libcef_dll/ctocpp/drag_handler_ctocpp.h"
@@ -109,7 +109,7 @@ cef_drag_handler_t*
CefCToCppRefCounted<CefDragHandlerCToCpp, CefDragHandler, cef_drag_handler_t>::
UnwrapDerived(CefWrapperType type, CefDragHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=efd270415ca1c1453612e5584ccd51374e98ef70$
// $hash=9a3a21ab271832d967d4212b1fa9362691eb3bdc$
//
#include "libcef_dll/ctocpp/end_tracing_callback_ctocpp.h"
@@ -54,7 +54,7 @@ cef_end_tracing_callback_t* CefCToCppRefCounted<
cef_end_tracing_callback_t>::UnwrapDerived(CefWrapperType type,
CefEndTracingCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=61c387debbfd3ef9a8e05026445378a6c9de5965$
// $hash=c276b1767d8f7930dd3be2c2409efda2159428b0$
//
#include "libcef_dll/ctocpp/extension_ctocpp.h"
@@ -62,7 +62,7 @@ CefRefPtr<CefDictionaryValue> CefExtensionCToCpp::GetManifest() {
cef_extension_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_manifest))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -101,7 +101,7 @@ CefRefPtr<CefExtensionHandler> CefExtensionCToCpp::GetHandler() {
cef_extension_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -118,7 +118,7 @@ CefRefPtr<CefRequestContext> CefExtensionCToCpp::GetLoaderContext() {
cef_extension_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_loader_context))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -173,7 +173,7 @@ cef_extension_t*
CefCToCppRefCounted<CefExtensionCToCpp, CefExtension, cef_extension_t>::
UnwrapDerived(CefWrapperType type, CefExtension* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=296ce29198f2d4e061c49aba879aeafdb81ec6e1$
// $hash=e2150893079724b7435ca143122b17096be5a8f5$
//
#include "libcef_dll/ctocpp/extension_handler_ctocpp.h"
@@ -115,7 +115,7 @@ bool CefExtensionHandlerCToCpp::OnBeforeBackgroundBrowser(
client = CefClientCToCpp::Wrap(clientStruct);
}
} else {
client = NULL;
client = nullptr;
}
// Return type: bool
@@ -176,7 +176,7 @@ bool CefExtensionHandlerCToCpp::OnBeforeBrowser(
client = CefClientCToCpp::Wrap(clientStruct);
}
} else {
client = NULL;
client = nullptr;
}
// Return type: bool
@@ -192,18 +192,18 @@ CefRefPtr<CefBrowser> CefExtensionHandlerCToCpp::GetActiveBrowser(
cef_extension_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_active_browser))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: extension; type: refptr_diff
DCHECK(extension.get());
if (!extension.get())
return NULL;
return nullptr;
// Verify param: browser; type: refptr_diff
DCHECK(browser.get());
if (!browser.get())
return NULL;
return nullptr;
// Execute
cef_browser_t* _retval = _struct->get_active_browser(
@@ -309,7 +309,7 @@ cef_extension_handler_t* CefCToCppRefCounted<
cef_extension_handler_t>::UnwrapDerived(CefWrapperType type,
CefExtensionHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3216025fdbffb9df093bdcbdb4998cadfa453eb4$
// $hash=19a439c707a5ccfa865eabb3a2a3ec8150104ba5$
//
#include "libcef_dll/ctocpp/file_dialog_callback_ctocpp.h"
@@ -80,7 +80,7 @@ cef_file_dialog_callback_t* CefCToCppRefCounted<
cef_file_dialog_callback_t>::UnwrapDerived(CefWrapperType type,
CefFileDialogCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=eacc45852935b16aff48b527cc5525a6935e6007$
// $hash=4899d7b77e91c0a5c46dad615f2e1b32f8077c40$
//
#include "libcef_dll/ctocpp/find_handler_ctocpp.h"
@@ -59,7 +59,7 @@ cef_find_handler_t*
CefCToCppRefCounted<CefFindHandlerCToCpp, CefFindHandler, cef_find_handler_t>::
UnwrapDerived(CefWrapperType type, CefFindHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=c8cc2d8d93cc636f1528d34238a784b4428dcfa0$
// $hash=14a73b2c762047ce55f3e40837050b5f5e950bac$
//
#include "libcef_dll/ctocpp/focus_handler_ctocpp.h"
@@ -98,7 +98,7 @@ CefCToCppRefCounted<CefFocusHandlerCToCpp,
cef_focus_handler_t>::UnwrapDerived(CefWrapperType type,
CefFocusHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=077aa890d762e02f21214ced17c43820b6c727a5$
// $hash=180295a757845728ac0b6b2fd778e7a16574ab56$
//
#include "libcef_dll/ctocpp/frame_ctocpp.h"
@@ -314,7 +314,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefFrame> CefFrameCToCpp::GetParent() {
cef_frame_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_parent))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -348,7 +348,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefBrowser> CefFrameCToCpp::GetBrowser() {
cef_frame_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_browser))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -365,7 +365,7 @@ CefRefPtr<CefV8Context> CefFrameCToCpp::GetV8Context() {
cef_frame_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_v8context))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -403,18 +403,18 @@ CefRefPtr<CefURLRequest> CefFrameCToCpp::CreateURLRequest(
cef_frame_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, create_urlrequest))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: request; type: refptr_same
DCHECK(request.get());
if (!request.get())
return NULL;
return nullptr;
// Verify param: client; type: refptr_diff
DCHECK(client.get());
if (!client.get())
return NULL;
return nullptr;
// Execute
cef_urlrequest_t* _retval =
@@ -462,7 +462,7 @@ CefCToCppRefCounted<CefFrameCToCpp, CefFrame, cef_frame_t>::UnwrapDerived(
CefWrapperType type,
CefFrame* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=83ed45013ef48aac9ba09bde20c268e5f9313107$
// $hash=c36d12cf40153d3c86ee21e31a3b29a0f01146fc$
//
#include "libcef_dll/ctocpp/get_extension_resource_callback_ctocpp.h"
@@ -67,7 +67,7 @@ CefCToCppRefCounted<CefGetExtensionResourceCallbackCToCpp,
cef_get_extension_resource_callback_t>::
UnwrapDerived(CefWrapperType type, CefGetExtensionResourceCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f4e3b182d968e9b59d0a7c592863aa3c6cb86ead$
// $hash=bf467f48bb553cc7308bce0fd74d3dcedaf8b8ad$
//
#include "libcef_dll/ctocpp/image_ctocpp.h"
@@ -247,7 +247,7 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsBitmap(
cef_image_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_as_bitmap))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -269,7 +269,7 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsPNG(float scale_factor,
cef_image_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_as_png))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -290,7 +290,7 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsJPEG(float scale_factor,
cef_image_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_as_jpeg))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -318,7 +318,7 @@ CefCToCppRefCounted<CefImageCToCpp, CefImage, cef_image_t>::UnwrapDerived(
CefWrapperType type,
CefImage* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=cd1e84985a709aec6fe04ca50fed9a3239a03b04$
// $hash=07dbe8f9680d767646cafcdaa5e790003d059cf5$
//
#include "libcef_dll/ctocpp/jsdialog_callback_ctocpp.h"
@@ -51,7 +51,7 @@ cef_jsdialog_callback_t* CefCToCppRefCounted<
cef_jsdialog_callback_t>::UnwrapDerived(CefWrapperType type,
CefJSDialogCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d5b4eafcaee7c9e57ebe97c1b0dafffdee5f5250$
// $hash=c3d58fe1274c19d04eb2ef801747b1f2012b86ce$
//
#include "libcef_dll/ctocpp/jsdialog_handler_ctocpp.h"
@@ -151,7 +151,7 @@ cef_jsdialog_handler_t* CefCToCppRefCounted<
cef_jsdialog_handler_t>::UnwrapDerived(CefWrapperType type,
CefJSDialogHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ed06de1cd3a6c8b6669671c9e9d348f2e42c41db$
// $hash=853cd02f42c843f486d936058a0f012d6099834c$
//
#include "libcef_dll/ctocpp/keyboard_handler_ctocpp.h"
@@ -99,7 +99,7 @@ cef_keyboard_handler_t* CefCToCppRefCounted<
cef_keyboard_handler_t>::UnwrapDerived(CefWrapperType type,
CefKeyboardHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f0975279c92730c0d0ea07353c1cd0848b802641$
// $hash=243cd9194d5b67b3ba35ae8b3f7c58588c0ccebb$
//
#include "libcef_dll/ctocpp/life_span_handler_ctocpp.h"
@@ -84,7 +84,7 @@ bool CefLifeSpanHandlerCToCpp::OnBeforePopup(
client = CefClientCToCpp::Wrap(clientStruct);
}
} else {
client = NULL;
client = nullptr;
}
// Restore param:extra_info; type: refptr_diff_byref
if (extra_infoStruct) {
@@ -92,7 +92,7 @@ bool CefLifeSpanHandlerCToCpp::OnBeforePopup(
extra_info = CefDictionaryValueCppToC::Unwrap(extra_infoStruct);
}
} else {
extra_info = NULL;
extra_info = nullptr;
}
// Restore param:no_javascript_access; type: bool_byaddr
if (no_javascript_access)
@@ -179,7 +179,7 @@ cef_life_span_handler_t* CefCToCppRefCounted<
cef_life_span_handler_t>::UnwrapDerived(CefWrapperType type,
CefLifeSpanHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1c550ab5611903a0500f72dcbbaea64f5ef3d41e$
// $hash=b4d3794c5760e7d21e00accfc8e3c260e5bd3e1d$
//
#include "libcef_dll/ctocpp/list_value_ctocpp.h"
@@ -131,7 +131,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefListValue> CefListValueCToCpp::Copy() {
cef_list_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, copy))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -229,7 +229,7 @@ CefRefPtr<CefValue> CefListValueCToCpp::GetValue(size_t index) {
cef_list_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_value))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -312,7 +312,7 @@ CefRefPtr<CefBinaryValue> CefListValueCToCpp::GetBinary(size_t index) {
cef_list_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_binary))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -329,7 +329,7 @@ CefRefPtr<CefDictionaryValue> CefListValueCToCpp::GetDictionary(size_t index) {
cef_list_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_dictionary))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -346,7 +346,7 @@ CefRefPtr<CefListValue> CefListValueCToCpp::GetList(size_t index) {
cef_list_value_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_list))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -552,7 +552,7 @@ cef_list_value_t*
CefCToCppRefCounted<CefListValueCToCpp, CefListValue, cef_list_value_t>::
UnwrapDerived(CefWrapperType type, CefListValue* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=db7ace99a38f2ce42ccf73a4179f357d01342a26$
// $hash=07a706c04c5b002b645d0c898249343d7e7ae442$
//
#include "libcef_dll/ctocpp/load_handler_ctocpp.h"
@@ -143,7 +143,7 @@ cef_load_handler_t*
CefCToCppRefCounted<CefLoadHandlerCToCpp, CefLoadHandler, cef_load_handler_t>::
UnwrapDerived(CefWrapperType type, CefLoadHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=be43ce63296a122aee664701e344d91f31533a32$
// $hash=fb562ef19ca1a0c2094548aae3f6a213d08480f8$
//
#include "libcef_dll/ctocpp/menu_model_ctocpp.h"
@@ -28,7 +28,7 @@ CefRefPtr<CefMenuModel> CefMenuModel::CreateMenuModel(
// Verify param: delegate; type: refptr_diff
DCHECK(delegate.get());
if (!delegate.get())
return NULL;
return nullptr;
// Execute
cef_menu_model_t* _retval =
@@ -180,14 +180,14 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::AddSubMenu(int command_id,
cef_menu_model_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, add_sub_menu))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: label; type: string_byref_const
DCHECK(!label.empty());
if (label.empty())
return NULL;
return nullptr;
// Execute
cef_menu_model_t* _retval =
@@ -298,14 +298,14 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::InsertSubMenuAt(
cef_menu_model_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, insert_sub_menu_at))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: label; type: string_byref_const
DCHECK(!label.empty());
if (label.empty())
return NULL;
return nullptr;
// Execute
cef_menu_model_t* _retval = _struct->insert_sub_menu_at(
@@ -583,7 +583,7 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::GetSubMenu(int command_id) {
cef_menu_model_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_sub_menu))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -600,7 +600,7 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::GetSubMenuAt(int index) {
cef_menu_model_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_sub_menu_at))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -1126,7 +1126,7 @@ cef_menu_model_t*
CefCToCppRefCounted<CefMenuModelCToCpp, CefMenuModel, cef_menu_model_t>::
UnwrapDerived(CefWrapperType type, CefMenuModel* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b1c6bc63acca87cf207501f1e5615cf6361b1283$
// $hash=c423c0e433e50b85f28dea833aa19e12404f3139$
//
#include "libcef_dll/ctocpp/menu_model_delegate_ctocpp.h"
@@ -188,7 +188,7 @@ cef_menu_model_delegate_t* CefCToCppRefCounted<
cef_menu_model_delegate_t>::UnwrapDerived(CefWrapperType type,
CefMenuModelDelegate* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=862efad909cbb6fc85ba52208f54bfa16177777d$
// $hash=c6f680dcbbea79f362a1d7686d7af902be9f0f9b$
//
#include "libcef_dll/ctocpp/navigation_entry_ctocpp.h"
@@ -178,7 +178,7 @@ CefRefPtr<CefSSLStatus> CefNavigationEntryCToCpp::GetSSLStatus() {
cef_navigation_entry_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_sslstatus))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -206,7 +206,7 @@ cef_navigation_entry_t* CefCToCppRefCounted<
cef_navigation_entry_t>::UnwrapDerived(CefWrapperType type,
CefNavigationEntry* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=91a1245b22699eead9f467181a1f6cc4a257c7c0$
// $hash=e927c676714bc7ebebb03468d963881da643eb50$
//
#include "libcef_dll/ctocpp/navigation_entry_visitor_ctocpp.h"
@@ -62,7 +62,7 @@ cef_navigation_entry_visitor_t* CefCToCppRefCounted<
CefNavigationEntryVisitor*
c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=bc93391b0f4317d3c0319d5c5782c5003813ae18$
// $hash=0b9a4766622f15290ae7328c08f1b28eb2d2275d$
//
#include "libcef_dll/ctocpp/pdf_print_callback_ctocpp.h"
@@ -54,7 +54,7 @@ cef_pdf_print_callback_t* CefCToCppRefCounted<
cef_pdf_print_callback_t>::UnwrapDerived(CefWrapperType type,
CefPdfPrintCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d970cac984d443bc412ef74d08f92c5d70c47737$
// $hash=895c319a8cdcb9d38eeeb55e98cb9bdb44a51b90$
//
#include "libcef_dll/ctocpp/post_data_ctocpp.h"
@@ -176,7 +176,7 @@ cef_post_data_t*
CefCToCppRefCounted<CefPostDataCToCpp, CefPostData, cef_post_data_t>::
UnwrapDerived(CefWrapperType type, CefPostData* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1a11e33ba79e871ecc843c9e69a5fe39f08d9ca1$
// $hash=89f51160ee669abdfee47c627c7b7fec0b034b2b$
//
#include "libcef_dll/ctocpp/post_data_element_ctocpp.h"
@@ -168,7 +168,7 @@ cef_post_data_element_t* CefCToCppRefCounted<
cef_post_data_element_t>::UnwrapDerived(CefWrapperType type,
CefPostDataElement* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=12b307024ac79e304cf95454fec074fa1bf53273$
// $hash=c013c03a8fd2436c90587a96bb4960869888667a$
//
#include "libcef_dll/ctocpp/print_dialog_callback_ctocpp.h"
@@ -68,7 +68,7 @@ cef_print_dialog_callback_t* CefCToCppRefCounted<
cef_print_dialog_callback_t>::UnwrapDerived(CefWrapperType type,
CefPrintDialogCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a8cdf81d407233962f006748247892adc9d1f8e2$
// $hash=b9fc8704be8fced9d4fe3ac048aaa716e1b14d0b$
//
#include "libcef_dll/ctocpp/print_handler_ctocpp.h"
@@ -193,7 +193,7 @@ CefCToCppRefCounted<CefPrintHandlerCToCpp,
cef_print_handler_t>::UnwrapDerived(CefWrapperType type,
CefPrintHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=e3a7423d73fcf53a17ea3449e88e20b913081665$
// $hash=f378864057814460c2cee92c0a31e1e2333220ff$
//
#include "libcef_dll/ctocpp/print_job_callback_ctocpp.h"
@@ -47,7 +47,7 @@ cef_print_job_callback_t* CefCToCppRefCounted<
cef_print_job_callback_t>::UnwrapDerived(CefWrapperType type,
CefPrintJobCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=e82609d7db669c6867d4bba4a78d8d4c90c1d5e1$
// $hash=bb2d141ebf3f887910043a250bf18f95b87d5fc3$
//
#include "libcef_dll/ctocpp/print_settings_ctocpp.h"
@@ -431,7 +431,7 @@ CefCToCppRefCounted<CefPrintSettingsCToCpp,
cef_print_settings_t>::UnwrapDerived(CefWrapperType type,
CefPrintSettings* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=850622fb4b315c3fbb4e11360360f9aa18a475cd$
// $hash=74d0487f35e81f0d220f947f0b203b04b193929f$
//
#include "libcef_dll/ctocpp/process_message_ctocpp.h"
@@ -27,7 +27,7 @@ CefRefPtr<CefProcessMessage> CefProcessMessage::Create(const CefString& name) {
// Verify param: name; type: string_byref_const
DCHECK(!name.empty());
if (name.empty())
return NULL;
return nullptr;
// Execute
cef_process_message_t* _retval = cef_process_message_create(name.GetStruct());
@@ -76,7 +76,7 @@ CefRefPtr<CefProcessMessage> CefProcessMessageCToCpp::Copy() {
cef_process_message_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, copy))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -111,7 +111,7 @@ CefRefPtr<CefListValue> CefProcessMessageCToCpp::GetArgumentList() {
cef_process_message_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_argument_list))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -139,7 +139,7 @@ cef_process_message_t* CefCToCppRefCounted<
cef_process_message_t>::UnwrapDerived(CefWrapperType type,
CefProcessMessage* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=093d709c39353f426d522f65ca6b5fcc6a231690$
// $hash=a43a5f260d313c39d52223998140fa07657bc318$
//
#include "libcef_dll/ctocpp/read_handler_ctocpp.h"
@@ -119,7 +119,7 @@ cef_read_handler_t*
CefCToCppRefCounted<CefReadHandlerCToCpp, CefReadHandler, cef_read_handler_t>::
UnwrapDerived(CefWrapperType type, CefReadHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b9e2e1092f6215025fda28739f2e6c6a5768db71$
// $hash=cb7f7a8bc8e7b414eceba18bd4164b857d21ff34$
//
#include "libcef_dll/ctocpp/register_cdm_callback_ctocpp.h"
@@ -53,7 +53,7 @@ cef_register_cdm_callback_t* CefCToCppRefCounted<
cef_register_cdm_callback_t>::UnwrapDerived(CefWrapperType type,
CefRegisterCdmCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=8fdcf6326c9187cb82aee7e5f2f44318a68986fa$
// $hash=f592f3806c9f87ee6c691b9f072cee4d6bb4650e$
//
#include "libcef_dll/ctocpp/render_handler_ctocpp.h"
@@ -27,7 +27,7 @@ CefRenderHandlerCToCpp::GetAccessibilityHandler() {
cef_render_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_accessibility_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -470,7 +470,7 @@ CefCToCppRefCounted<CefRenderHandlerCToCpp,
cef_render_handler_t>::UnwrapDerived(CefWrapperType type,
CefRenderHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=049d5c9b4c8a3cb9aad2bb88afbdb48c2798fa92$
// $hash=084106863bdaf595427b0d121362e207b15c66bf$
//
#include "libcef_dll/ctocpp/render_process_handler_ctocpp.h"
@@ -103,7 +103,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefLoadHandler> CefRenderProcessHandlerCToCpp::GetLoadHandler() {
cef_render_process_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_load_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -287,7 +287,7 @@ cef_render_process_handler_t* CefCToCppRefCounted<
cef_render_process_handler_t>::UnwrapDerived(CefWrapperType type,
CefRenderProcessHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ac14239f98ada82d45976908b3d4e3890a66408b$
// $hash=b1c7af22f4bb4b7da664dc6bb7bd057efda70222$
//
#include "libcef_dll/ctocpp/request_callback_ctocpp.h"
@@ -60,7 +60,7 @@ cef_request_callback_t* CefCToCppRefCounted<
cef_request_callback_t>::UnwrapDerived(CefWrapperType type,
CefRequestCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=57295d584f84e500ab51e609eb0cebdcb73f2d02$
// $hash=dd21194253186ee403d7ffe5098e87b030eeb4c8$
//
#include "libcef_dll/ctocpp/request_context_ctocpp.h"
@@ -62,7 +62,7 @@ CefRefPtr<CefRequestContext> CefRequestContext::CreateContext(
// Verify param: other; type: refptr_same
DCHECK(other.get());
if (!other.get())
return NULL;
return nullptr;
// Unverified params: handler
// Execute
@@ -137,7 +137,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefRequestContextHandler> CefRequestContextCToCpp::GetHandler() {
cef_request_context_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -169,7 +169,7 @@ CefRefPtr<CefCookieManager> CefRequestContextCToCpp::GetCookieManager(
CefRefPtr<CefCompletionCallback> callback) {
cef_request_context_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_cookie_manager))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -261,14 +261,14 @@ CefRefPtr<CefValue> CefRequestContextCToCpp::GetPreference(
const CefString& name) {
cef_request_context_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_preference))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: name; type: string_byref_const
DCHECK(!name.empty());
if (name.empty())
return NULL;
return nullptr;
// Execute
cef_value_t* _retval = _struct->get_preference(_struct, name.GetStruct());
@@ -282,7 +282,7 @@ CefRefPtr<CefDictionaryValue> CefRequestContextCToCpp::GetAllPreferences(
bool include_defaults) {
cef_request_context_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_all_preferences))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -508,14 +508,14 @@ CefRefPtr<CefExtension> CefRequestContextCToCpp::GetExtension(
const CefString& extension_id) {
cef_request_context_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_extension))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: extension_id; type: string_byref_const
DCHECK(!extension_id.empty());
if (extension_id.empty())
return NULL;
return nullptr;
// Execute
cef_extension_t* _retval =
@@ -540,7 +540,7 @@ cef_request_context_t* CefCToCppRefCounted<
cef_request_context_t>::UnwrapDerived(CefWrapperType type,
CefRequestContext* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b2ddcf7ebcb92dac57cc6d03f35153157ecf4eb6$
// $hash=afc36702ea14f7e553999aad62155a4bd189b3b4$
//
#include "libcef_dll/ctocpp/request_context_handler_ctocpp.h"
@@ -91,14 +91,14 @@ CefRequestContextHandlerCToCpp::GetResourceRequestHandler(
bool& disable_default_handling) {
cef_request_context_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_resource_request_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: request; type: refptr_diff
DCHECK(request.get());
if (!request.get())
return NULL;
return nullptr;
// Unverified params: browser, frame, request_initiator
// Translate param: disable_default_handling; type: bool_byref
@@ -133,7 +133,7 @@ cef_request_context_handler_t* CefCToCppRefCounted<
cef_request_context_handler_t>::UnwrapDerived(CefWrapperType type,
CefRequestContextHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=830d3833ca75910c1d7bb2a0a1cd2920b5c5a28f$
// $hash=68730b3bdc2f7d7fb673a3321fa6e4b17f8a4011$
//
#include "libcef_dll/ctocpp/request_ctocpp.h"
@@ -159,7 +159,7 @@ NO_SANITIZE("cfi-icall")
CefRefPtr<CefPostData> CefRequestCToCpp::GetPostData() {
cef_request_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_post_data))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -427,7 +427,7 @@ CefCToCppRefCounted<CefRequestCToCpp, CefRequest, cef_request_t>::UnwrapDerived(
CefWrapperType type,
CefRequest* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=eebf4dd3c694b94d07f5261540e6a575d5f505d0$
// $hash=72e6ec9a5095a99eaa78ff867ca429f8cd28b101$
//
#include "libcef_dll/ctocpp/request_handler_ctocpp.h"
@@ -113,22 +113,22 @@ CefRequestHandlerCToCpp::GetResourceRequestHandler(
cef_request_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_resource_request_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: browser; type: refptr_diff
DCHECK(browser.get());
if (!browser.get())
return NULL;
return nullptr;
// Verify param: frame; type: refptr_diff
DCHECK(frame.get());
if (!frame.get())
return NULL;
return nullptr;
// Verify param: request; type: refptr_diff
DCHECK(request.get());
if (!request.get())
return NULL;
return nullptr;
// Unverified params: request_initiator
// Translate param: disable_default_handling; type: bool_byref
@@ -411,7 +411,7 @@ cef_request_handler_t* CefCToCppRefCounted<
cef_request_handler_t>::UnwrapDerived(CefWrapperType type,
CefRequestHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a35d81c85bc3eea97cf712146fc929bc6af98b56$
// $hash=37265d073717bef3508ba6c42f944e7b27c7b1dd$
//
#include "libcef_dll/ctocpp/resolve_callback_ctocpp.h"
@@ -63,7 +63,7 @@ cef_resolve_callback_t* CefCToCppRefCounted<
cef_resolve_callback_t>::UnwrapDerived(CefWrapperType type,
CefResolveCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=af24e9b1fdb586d22f96128d521e11b42b4d32be$
// $hash=026dabca1d46cfbe911d71ede9d5bb79cb7c553d$
//
#include "libcef_dll/ctocpp/resource_bundle_ctocpp.h"
@@ -99,7 +99,7 @@ cef_resource_bundle_t* CefCToCppRefCounted<
cef_resource_bundle_t>::UnwrapDerived(CefWrapperType type,
CefResourceBundle* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=83db508324306f1de536e01274c7360ee185cfd9$
// $hash=e0a6432bb54e21c91fb9a82c708b04b36822c067$
//
#include "libcef_dll/ctocpp/resource_bundle_handler_ctocpp.h"
@@ -95,7 +95,7 @@ cef_resource_bundle_handler_t* CefCToCppRefCounted<
cef_resource_bundle_handler_t>::UnwrapDerived(CefWrapperType type,
CefResourceBundleHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=bb15ac2d940476743f445c8b61b9938ac9bfad76$
// $hash=e26de314e30f8de5b6f082d0dda6e63b8e720368$
//
#include "libcef_dll/ctocpp/resource_handler_ctocpp.h"
@@ -229,7 +229,7 @@ cef_resource_handler_t* CefCToCppRefCounted<
cef_resource_handler_t>::UnwrapDerived(CefWrapperType type,
CefResourceHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1729a3c4a46b325c1bfcd9b1e56ffae0bf58f875$
// $hash=125f79d2fcbf968b7fd2d872b03a711274583eb1$
//
#include "libcef_dll/ctocpp/resource_read_callback_ctocpp.h"
@@ -48,7 +48,7 @@ cef_resource_read_callback_t* CefCToCppRefCounted<
cef_resource_read_callback_t>::UnwrapDerived(CefWrapperType type,
CefResourceReadCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=17612baa78590bca3cbbf0c20b81847f3f36462b$
// $hash=4b688dcc74e4949b8e9a236c16530d77323d2b32$
//
#include "libcef_dll/ctocpp/resource_request_handler_ctocpp.h"
@@ -32,14 +32,14 @@ CefResourceRequestHandlerCToCpp::GetCookieAccessFilter(
CefRefPtr<CefRequest> request) {
cef_resource_request_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_cookie_access_filter))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: request; type: refptr_diff
DCHECK(request.get());
if (!request.get())
return NULL;
return nullptr;
// Unverified params: browser, frame
// Execute
@@ -92,14 +92,14 @@ CefResourceRequestHandlerCToCpp::GetResourceHandler(
CefRefPtr<CefRequest> request) {
cef_resource_request_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_resource_handler))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: request; type: refptr_diff
DCHECK(request.get());
if (!request.get())
return NULL;
return nullptr;
// Unverified params: browser, frame
// Execute
@@ -181,18 +181,18 @@ CefResourceRequestHandlerCToCpp::GetResourceResponseFilter(
CefRefPtr<CefResponse> response) {
cef_resource_request_handler_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_resource_response_filter))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: request; type: refptr_diff
DCHECK(request.get());
if (!request.get())
return NULL;
return nullptr;
// Verify param: response; type: refptr_diff
DCHECK(response.get());
if (!response.get())
return NULL;
return nullptr;
// Unverified params: browser, frame
// Execute
@@ -281,7 +281,7 @@ cef_resource_request_handler_t* CefCToCppRefCounted<
CefResourceRequestHandler*
c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fdcd22125bd1d234bb0948e70b9605ac448167d5$
// $hash=2233b3c4dd73427daaf72910a7944ce0ecb63e46$
//
#include "libcef_dll/ctocpp/resource_skip_callback_ctocpp.h"
@@ -48,7 +48,7 @@ cef_resource_skip_callback_t* CefCToCppRefCounted<
cef_resource_skip_callback_t>::UnwrapDerived(CefWrapperType type,
CefResourceSkipCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=0a0c11a7dfdd577968669866e0a1fe8a5991c211$
// $hash=343ac0d93557b9f3a6e9e2500a4e2ab36b632312$
//
#include "libcef_dll/ctocpp/response_ctocpp.h"
@@ -317,7 +317,7 @@ cef_response_t*
CefCToCppRefCounted<CefResponseCToCpp, CefResponse, cef_response_t>::
UnwrapDerived(CefWrapperType type, CefResponse* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fa5ac4672a6e0baf8f8f5c03bf0bd4e2aaa57311$
// $hash=f317870833b17779de0a9cb0f0516aface361613$
//
#include "libcef_dll/ctocpp/response_filter_ctocpp.h"
@@ -81,7 +81,7 @@ cef_response_filter_t* CefCToCppRefCounted<
cef_response_filter_t>::UnwrapDerived(CefWrapperType type,
CefResponseFilter* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=bbd73fb46dc50af3cc31dca573e951cf4eb87418$
// $hash=2f1eac0f40c023b5257161efd4b4b1911f1ab8b6$
//
#include "libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h"
@@ -63,7 +63,7 @@ cef_run_context_menu_callback_t* CefCToCppRefCounted<
CefRunContextMenuCallback*
c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=7a62e9f0226e2d9d914fea5c34d0611651069f0d$
// $hash=0065d3160cbd59f9fe8f5272acbca0a90a5eda81$
//
#include "libcef_dll/ctocpp/run_file_dialog_callback_ctocpp.h"
@@ -69,7 +69,7 @@ cef_run_file_dialog_callback_t* CefCToCppRefCounted<
CefRunFileDialogCallback*
c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=40f2f58875396baef0de17aba890a2c252cf6167$
// $hash=ba596df840e36426b87e0744fcf55e179a915c5e$
//
#include "libcef_dll/ctocpp/scheme_handler_factory_ctocpp.h"
@@ -28,18 +28,18 @@ CefRefPtr<CefResourceHandler> CefSchemeHandlerFactoryCToCpp::Create(
CefRefPtr<CefRequest> request) {
cef_scheme_handler_factory_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, create))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: scheme_name; type: string_byref_const
DCHECK(!scheme_name.empty());
if (scheme_name.empty())
return NULL;
return nullptr;
// Verify param: request; type: refptr_diff
DCHECK(request.get());
if (!request.get())
return NULL;
return nullptr;
// Unverified params: browser, frame
// Execute
@@ -66,7 +66,7 @@ cef_scheme_handler_factory_t* CefCToCppRefCounted<
cef_scheme_handler_factory_t>::UnwrapDerived(CefWrapperType type,
CefSchemeHandlerFactory* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=0b38b7eb72038c9aed12bad06566c9164908f2b9$
// $hash=96867bd89ff762e10642ac8c037b187a03dab85e$
//
#include "libcef_dll/ctocpp/scheme_registrar_ctocpp.h"
@@ -53,7 +53,7 @@ cef_scheme_registrar_t* CefCToCppScoped<
cef_scheme_registrar_t>::UnwrapDerivedOwn(CefWrapperType type,
CefOwnPtr<CefSchemeRegistrar> c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>
@@ -63,7 +63,7 @@ cef_scheme_registrar_t* CefCToCppScoped<
cef_scheme_registrar_t>::UnwrapDerivedRaw(CefWrapperType type,
CefRawPtr<CefSchemeRegistrar> c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=45b5eb3732a457cfef12e072279b5077653fccda$
// $hash=9074ca50ffc28d04a31a322d86e8b6118782a724$
//
#include "libcef_dll/ctocpp/select_client_certificate_callback_ctocpp.h"
@@ -54,7 +54,7 @@ CefCToCppRefCounted<CefSelectClientCertificateCallbackCToCpp,
cef_select_client_certificate_callback_t>::
UnwrapDerived(CefWrapperType type, CefSelectClientCertificateCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=951c8a587ec000fbae5b7d43658f6d71fd381176$
// $hash=e33f5d5355018c27df765228ce01ea4d21ac1663$
//
#include "libcef_dll/ctocpp/server_ctocpp.h"
@@ -51,7 +51,7 @@ CefRefPtr<CefTaskRunner> CefServerCToCpp::GetTaskRunner() {
cef_server_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_task_runner))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -312,7 +312,7 @@ CefCToCppRefCounted<CefServerCToCpp, CefServer, cef_server_t>::UnwrapDerived(
CefWrapperType type,
CefServer* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=012586ea98412d82bf3b6b801a1c4842409db734$
// $hash=eda7a02f86a6f75b5c2befa5cc3c02bf290a6782$
//
#include "libcef_dll/ctocpp/server_handler_ctocpp.h"
@@ -236,7 +236,7 @@ CefCToCppRefCounted<CefServerHandlerCToCpp,
cef_server_handler_t>::UnwrapDerived(CefWrapperType type,
CefServerHandler* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1236673bd426966627d6055451cea9def07c9ca8$
// $hash=a00d1d8d0e2a5a7a63b8f9669301186ffc2fc664$
//
#include "libcef_dll/ctocpp/set_cookie_callback_ctocpp.h"
@@ -48,7 +48,7 @@ cef_set_cookie_callback_t* CefCToCppRefCounted<
cef_set_cookie_callback_t>::UnwrapDerived(CefWrapperType type,
CefSetCookieCallback* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b74ec6da2ba269e972355cd1f6efa6bcd8d2a19c$
// $hash=bcc26f8afe20b67daeb6feb8578f195649b2bc59$
//
#include "libcef_dll/ctocpp/sslinfo_ctocpp.h"
@@ -40,7 +40,7 @@ CefRefPtr<CefX509Certificate> CefSSLInfoCToCpp::GetX509Certificate() {
cef_sslinfo_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_x509certificate))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -67,7 +67,7 @@ CefCToCppRefCounted<CefSSLInfoCToCpp, CefSSLInfo, cef_sslinfo_t>::UnwrapDerived(
CefWrapperType type,
CefSSLInfo* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=117bbe9bc532da48f388b30fec2d2a6356e6efd5$
// $hash=61b177e6dc50166afe90999fbc9771d4f69254c5$
//
#include "libcef_dll/ctocpp/sslstatus_ctocpp.h"
@@ -89,7 +89,7 @@ CefRefPtr<CefX509Certificate> CefSSLStatusCToCpp::GetX509Certificate() {
cef_sslstatus_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_x509certificate))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -115,7 +115,7 @@ cef_sslstatus_t*
CefCToCppRefCounted<CefSSLStatusCToCpp, CefSSLStatus, cef_sslstatus_t>::
UnwrapDerived(CefWrapperType type, CefSSLStatus* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=aacc9cb4cafc9308d3125bba75ed0cf736b28410$
// $hash=82b24259bb9ee73f15743e8b9970f5eeb7e47e7e$
//
#include "libcef_dll/ctocpp/stream_reader_ctocpp.h"
@@ -28,7 +28,7 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForFile(
// Verify param: fileName; type: string_byref_const
DCHECK(!fileName.empty());
if (fileName.empty())
return NULL;
return nullptr;
// Execute
cef_stream_reader_t* _retval =
@@ -48,7 +48,7 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForData(void* data,
// Verify param: data; type: simple_byaddr
DCHECK(data);
if (!data)
return NULL;
return nullptr;
// Execute
cef_stream_reader_t* _retval = cef_stream_reader_create_for_data(data, size);
@@ -67,7 +67,7 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForHandler(
// Verify param: handler; type: refptr_diff
DCHECK(handler.get());
if (!handler.get())
return NULL;
return nullptr;
// Execute
cef_stream_reader_t* _retval =
@@ -183,7 +183,7 @@ CefCToCppRefCounted<CefStreamReaderCToCpp,
cef_stream_reader_t>::UnwrapDerived(CefWrapperType type,
CefStreamReader* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=e9753519a2f4683f1a430d11445ed48dbde5a6f6$
// $hash=1db7fdb06286f5c56a73b837e1f2bc30ae5ae536$
//
#include "libcef_dll/ctocpp/stream_writer_ctocpp.h"
@@ -28,7 +28,7 @@ CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForFile(
// Verify param: fileName; type: string_byref_const
DCHECK(!fileName.empty());
if (fileName.empty())
return NULL;
return nullptr;
// Execute
cef_stream_writer_t* _retval =
@@ -48,7 +48,7 @@ CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForHandler(
// Verify param: handler; type: refptr_diff
DCHECK(handler.get());
if (!handler.get())
return NULL;
return nullptr;
// Execute
cef_stream_writer_t* _retval = cef_stream_writer_create_for_handler(
@@ -164,7 +164,7 @@ CefCToCppRefCounted<CefStreamWriterCToCpp,
cef_stream_writer_t>::UnwrapDerived(CefWrapperType type,
CefStreamWriter* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=8586f516ce679b48361cd60df36be378c4ad1d82$
// $hash=b4199e85d500f9c22ce48472b0dc14eb581f8d84$
//
#include "libcef_dll/ctocpp/string_visitor_ctocpp.h"
@@ -50,7 +50,7 @@ CefCToCppRefCounted<CefStringVisitorCToCpp,
cef_string_visitor_t>::UnwrapDerived(CefWrapperType type,
CefStringVisitor* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=8453081210f47c920ca8aaa2d165cd33a91b112a$
// $hash=3a86994454947714f641ccc5c318b4afc9841cca$
//
#include "libcef_dll/ctocpp/task_ctocpp.h"
@@ -41,7 +41,7 @@ CefCToCppRefCounted<CefTaskCToCpp, CefTask, cef_task_t>::UnwrapDerived(
CefWrapperType type,
CefTask* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5f9f34df71d7293da5a522fdc8cf22f5afd00358$
// $hash=3d4ea30711c0e3c716585f14b4122cdd57eba499$
//
#include "libcef_dll/ctocpp/task_runner_ctocpp.h"
@@ -162,7 +162,7 @@ cef_task_runner_t*
CefCToCppRefCounted<CefTaskRunnerCToCpp, CefTaskRunner, cef_task_runner_t>::
UnwrapDerived(CefWrapperType type, CefTaskRunner* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=6ed36459f735673582a3619a92be93ccf8bf05db$
// $hash=4ccc62b0449038044535576aed814a925db93432$
//
#include "libcef_dll/ctocpp/test/translator_test_ctocpp.h"
@@ -698,7 +698,7 @@ CefTranslatorTestCToCpp::GetRefPtrLibrary(int val) {
cef_translator_test_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_ref_ptr_library))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -742,14 +742,14 @@ CefTranslatorTestCToCpp::SetRefPtrLibraryAndReturn(
cef_translator_test_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, set_ref_ptr_library_and_return))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: val; type: refptr_same
DCHECK(val.get());
if (!val.get())
return NULL;
return nullptr;
// Execute
cef_translator_test_ref_ptr_library_t* _retval =
@@ -792,14 +792,14 @@ CefTranslatorTestCToCpp::SetChildRefPtrLibraryAndReturnParent(
cef_translator_test_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, set_child_ref_ptr_library_and_return_parent))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: val; type: refptr_same
DCHECK(val.get());
if (!val.get())
return NULL;
return nullptr;
// Execute
cef_translator_test_ref_ptr_library_t* _retval =
@@ -944,14 +944,14 @@ CefTranslatorTestCToCpp::SetRefPtrClientAndReturn(
cef_translator_test_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, set_ref_ptr_client_and_return))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: val; type: refptr_diff
DCHECK(val.get());
if (!val.get())
return NULL;
return nullptr;
// Execute
cef_translator_test_ref_ptr_client_t* _retval =
@@ -994,14 +994,14 @@ CefTranslatorTestCToCpp::SetChildRefPtrClientAndReturnParent(
cef_translator_test_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, set_child_ref_ptr_client_and_return_parent))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: val; type: refptr_diff
DCHECK(val.get());
if (!val.get())
return NULL;
return nullptr;
// Execute
cef_translator_test_ref_ptr_client_t* _retval =
@@ -1552,7 +1552,7 @@ cef_translator_test_t* CefCToCppRefCounted<
cef_translator_test_t>::UnwrapDerived(CefWrapperType type,
CefTranslatorTest* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=142a2ba17910dd7c4741e7772776fa6f94fd586f$
// $hash=2453173215db3e380519cc01ccf4e6716728a3e6$
//
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_client_child_ctocpp.h"
@@ -71,7 +71,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrClientChildCToCpp,
cef_translator_test_ref_ptr_client_child_t>::
UnwrapDerived(CefWrapperType type, CefTranslatorTestRefPtrClientChild* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=e53a6f189143df37476966e3a436d24c9e775239$
// $hash=a92bb99010dc728a39413e46e68a19cd2ac2906b$
//
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_client_ctocpp.h"
@@ -56,7 +56,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrClientCToCpp,
reinterpret_cast<CefTranslatorTestRefPtrClientChild*>(c)));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=352d568e6478661b3da17d59241c6eec2db5f78b$
// $hash=393e66b4a61fb024e637495a6015f571ae9f2934$
//
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_child_child_ctocpp.h"
@@ -157,7 +157,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrLibraryChildChildCToCpp,
UnwrapDerived(CefWrapperType type,
CefTranslatorTestRefPtrLibraryChildChild* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5d6ecce15bbbe0d5bede4aafcc32f3a0edc92217$
// $hash=752d19a05cc2fd993f6a501894bd06aebfee72f2$
//
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_child_ctocpp.h"
@@ -123,7 +123,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrLibraryChildCToCpp,
reinterpret_cast<CefTranslatorTestRefPtrLibraryChildChild*>(c)));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=50e46fea2cc77bcb7a3b203e3887f2bbd552a40f$
// $hash=8bb13d683dd6c3dd98a0990de4b3e2396e9f9a1e$
//
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_ctocpp.h"
@@ -93,7 +93,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrLibraryCToCpp,
reinterpret_cast<CefTranslatorTestRefPtrLibraryChildChild*>(c)));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=c7f883d9f0c64c83c859a534b220a637808e65f7$
// $hash=d9e908faae3ca204ade3cceff3471419b234dddb$
//
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_child_ctocpp.h"
@@ -65,7 +65,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientChildCToCpp,
UnwrapDerivedOwn(CefWrapperType type,
CefOwnPtr<CefTranslatorTestScopedClientChild> c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>
@@ -76,7 +76,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientChildCToCpp,
UnwrapDerivedRaw(CefWrapperType type,
CefRawPtr<CefTranslatorTestScopedClientChild> c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=7cacf965cee2067dd7c60435eb312e93d311d409$
// $hash=5c7f3edee8fa09ae414ccc7cacfaaa9713cdbf2c$
//
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_ctocpp.h"
@@ -54,7 +54,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientCToCpp,
c.release()))));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>
@@ -72,7 +72,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientCToCpp,
CEF_RAW_PTR_GET(c)))));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fa29940d81fcb680330affee56b07513ccac3507$
// $hash=fc692610bce3f501fc3cbcf316da081d29a03cd9$
//
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_child_child_ctocpp.h"
@@ -140,7 +140,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildChildCToCpp,
UnwrapDerivedOwn(CefWrapperType type,
CefOwnPtr<CefTranslatorTestScopedLibraryChildChild> c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>
@@ -151,7 +151,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildChildCToCpp,
UnwrapDerivedRaw(CefWrapperType type,
CefRawPtr<CefTranslatorTestScopedLibraryChildChild> c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=41882a1e3c513646c965c678011f0db28573d38c$
// $hash=e76720f37e225d0c2f30938ec59b1e73e61b9017$
//
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_child_ctocpp.h"
@@ -113,7 +113,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildCToCpp,
c.release()))));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>
@@ -131,7 +131,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildCToCpp,
CEF_RAW_PTR_GET(c)))));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

Some files were not shown because too many files have changed in this diff Show More