1 // Copyright (c) 2017 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 #include "libcef_dll/cpptoc/base_scoped_cpptoc.h"
6
CefBaseScopedCppToC()7 CefBaseScopedCppToC::CefBaseScopedCppToC() {}
8
9 template <>
10 CefOwnPtr<CefBaseScoped>
11 CefCppToCScoped<CefBaseScopedCppToC, CefBaseScoped, cef_base_scoped_t>::
UnwrapDerivedOwn(CefWrapperType type,cef_base_scoped_t * s)12 UnwrapDerivedOwn(CefWrapperType type, cef_base_scoped_t* s) {
13 NOTREACHED();
14 return CefOwnPtr<CefBaseScoped>();
15 }
16
17 template <>
18 CefRawPtr<CefBaseScoped>
19 CefCppToCScoped<CefBaseScopedCppToC, CefBaseScoped, cef_base_scoped_t>::
UnwrapDerivedRaw(CefWrapperType type,cef_base_scoped_t * s)20 UnwrapDerivedRaw(CefWrapperType type, cef_base_scoped_t* s) {
21 NOTREACHED();
22 return nullptr;
23 }
24
25 template <>
26 CefWrapperType CefCppToCScoped<CefBaseScopedCppToC,
27 CefBaseScoped,
28 cef_base_scoped_t>::kWrapperType =
29 WT_BASE_SCOPED;
30