1 // Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 // 5 // --------------------------------------------------------------------------- 6 // 7 // This file was generated by the CEF translator tool. If making changes by 8 // hand only do so within the body of existing method and function 9 // implementations. See the translator.README.txt file in the tools directory 10 // for more information. 11 // 12 // $hash=36f275457b15025ac7b979eca3179cd127f45ffb$ 13 // 14 15 #include "libcef_dll/ctocpp/registration_ctocpp.h" 16 #include "libcef_dll/shutdown_checker.h" 17 18 // CONSTRUCTOR - Do not edit by hand. 19 CefRegistrationCToCpp()20CefRegistrationCToCpp::CefRegistrationCToCpp() {} 21 22 // DESTRUCTOR - Do not edit by hand. 23 ~CefRegistrationCToCpp()24CefRegistrationCToCpp::~CefRegistrationCToCpp() { 25 shutdown_checker::AssertNotShutdown(); 26 } 27 28 template <> 29 cef_registration_t* 30 CefCToCppRefCounted<CefRegistrationCToCpp, 31 CefRegistration, UnwrapDerived(CefWrapperType type,CefRegistration * c)32 cef_registration_t>::UnwrapDerived(CefWrapperType type, 33 CefRegistration* c) { 34 NOTREACHED() << "Unexpected class type: " << type; 35 return nullptr; 36 } 37 38 template <> 39 CefWrapperType CefCToCppRefCounted<CefRegistrationCToCpp, 40 CefRegistration, 41 cef_registration_t>::kWrapperType = 42 WT_REGISTRATION; 43