1 // Copyright (c) 2021 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=ec2642c7c8adb8df19ecc2a8a4ae1e8be5c203a0$ 13 // 14 15 #include "libcef_dll/cpptoc/registration_cpptoc.h" 16 #include "libcef_dll/shutdown_checker.h" 17 18 // CONSTRUCTOR - Do not edit by hand. 19 CefRegistrationCppToC()20CefRegistrationCppToC::CefRegistrationCppToC() {} 21 22 // DESTRUCTOR - Do not edit by hand. 23 ~CefRegistrationCppToC()24CefRegistrationCppToC::~CefRegistrationCppToC() { 25 shutdown_checker::AssertNotShutdown(); 26 } 27 28 template <> 29 CefRefPtr<CefRegistration> 30 CefCppToCRefCounted<CefRegistrationCppToC, 31 CefRegistration, UnwrapDerived(CefWrapperType type,cef_registration_t * s)32 cef_registration_t>::UnwrapDerived(CefWrapperType type, 33 cef_registration_t* s) { 34 NOTREACHED() << "Unexpected class type: " << type; 35 return nullptr; 36 } 37 38 template <> 39 CefWrapperType CefCppToCRefCounted<CefRegistrationCppToC, 40 CefRegistration, 41 cef_registration_t>::kWrapperType = 42 WT_REGISTRATION; 43