mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add API for SSL status and certificate retrieval (issue #1924)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/navigation_entry_ctocpp.h"
|
||||
#include "libcef_dll/ctocpp/sslstatus_ctocpp.h"
|
||||
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
@@ -150,6 +151,20 @@ int CefNavigationEntryCToCpp::GetHttpStatusCode() {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
CefRefPtr<CefSSLStatus> CefNavigationEntryCToCpp::GetSSLStatus() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_sslstatus))
|
||||
return NULL;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
cef_sslstatus_t* _retval = _struct->get_sslstatus(_struct);
|
||||
|
||||
// Return type: refptr_same
|
||||
return CefSSLStatusCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
// CONSTRUCTOR - Do not edit by hand.
|
||||
|
||||
|
Reference in New Issue
Block a user