mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Implement new approach for debugging leaked wrapper object references (issue #2593)
This commit is contained in:
@ -9,10 +9,11 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=57cefda57397d39812a4b72c7e929e5ce07cd576$
|
||||
// $hash=96938638213bc6f72dba268295fd175b90ff3d2e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/web_plugin_info_cpptoc.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
namespace {
|
||||
|
||||
@ -20,6 +21,8 @@ namespace {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
web_plugin_info_get_name(struct _cef_web_plugin_info_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -35,6 +38,8 @@ web_plugin_info_get_name(struct _cef_web_plugin_info_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
web_plugin_info_get_path(struct _cef_web_plugin_info_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -50,6 +55,8 @@ web_plugin_info_get_path(struct _cef_web_plugin_info_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
web_plugin_info_get_version(struct _cef_web_plugin_info_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -65,6 +72,8 @@ web_plugin_info_get_version(struct _cef_web_plugin_info_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
web_plugin_info_get_description(struct _cef_web_plugin_info_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -89,6 +98,12 @@ CefWebPluginInfoCppToC::CefWebPluginInfoCppToC() {
|
||||
GetStruct()->get_description = web_plugin_info_get_description;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefWebPluginInfoCppToC::~CefWebPluginInfoCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefWebPluginInfo> CefCppToCRefCounted<
|
||||
CefWebPluginInfoCppToC,
|
||||
|
Reference in New Issue
Block a user