mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Also perform related C++ cleanup:
- Use =default instead of {} for default implementations of
  constructors/destructors.
- Replace typedef with using.
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			916 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			916 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights
 | |
| // reserved. Use of this source code is governed by a BSD-style license that
 | |
| // can be found in the LICENSE file.
 | |
| 
 | |
| #ifndef CEF_LIBCEF_BROWSER_SSL_INFO_IMPL_H_
 | |
| #define CEF_LIBCEF_BROWSER_SSL_INFO_IMPL_H_
 | |
| #pragma once
 | |
| 
 | |
| #include "include/cef_ssl_info.h"
 | |
| 
 | |
| #include "net/ssl/ssl_info.h"
 | |
| 
 | |
| // CefSSLInfo implementation
 | |
| class CefSSLInfoImpl : public CefSSLInfo {
 | |
|  public:
 | |
|   explicit CefSSLInfoImpl(const net::SSLInfo& value);
 | |
| 
 | |
|   CefSSLInfoImpl(const CefSSLInfoImpl&) = delete;
 | |
|   CefSSLInfoImpl& operator=(const CefSSLInfoImpl&) = delete;
 | |
| 
 | |
|   // CefSSLInfo methods.
 | |
|   cef_cert_status_t GetCertStatus() override;
 | |
|   CefRefPtr<CefX509Certificate> GetX509Certificate() override;
 | |
| 
 | |
|  private:
 | |
|   cef_cert_status_t cert_status_;
 | |
|   CefRefPtr<CefX509Certificate> cert_;
 | |
| 
 | |
|   IMPLEMENT_REFCOUNTING(CefSSLInfoImpl);
 | |
| };
 | |
| 
 | |
| #endif  // CEF_LIBCEF_BROWSER_SSL_INFO_IMPL_H_
 |