mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Add "cef/" prefix for CEF #includes in libcef/ directory. Sort #includes by following https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright (c) 2016 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_X509_CERT_PRINCIPAL_IMPL_H_
 | |
| #define CEF_LIBCEF_BROWSER_X509_CERT_PRINCIPAL_IMPL_H_
 | |
| #pragma once
 | |
| 
 | |
| #include "cef/include/cef_x509_certificate.h"
 | |
| #include "net/cert/x509_cert_types.h"
 | |
| 
 | |
| // CefX509CertPrincipal implementation
 | |
| class CefX509CertPrincipalImpl : public CefX509CertPrincipal {
 | |
|  public:
 | |
|   explicit CefX509CertPrincipalImpl(const net::CertPrincipal& value);
 | |
| 
 | |
|   CefX509CertPrincipalImpl(const CefX509CertPrincipalImpl&) = delete;
 | |
|   CefX509CertPrincipalImpl& operator=(const CefX509CertPrincipalImpl&) = delete;
 | |
| 
 | |
|   // CefX509CertPrincipal methods.
 | |
|   CefString GetDisplayName() override;
 | |
|   CefString GetCommonName() override;
 | |
|   CefString GetLocalityName() override;
 | |
|   CefString GetStateOrProvinceName() override;
 | |
|   CefString GetCountryName() override;
 | |
|   void GetOrganizationNames(std::vector<CefString>& names) override;
 | |
|   void GetOrganizationUnitNames(std::vector<CefString>& names) override;
 | |
| 
 | |
|  private:
 | |
|   net::CertPrincipal value_;
 | |
| 
 | |
|   IMPLEMENT_REFCOUNTING(CefX509CertPrincipalImpl);
 | |
| };
 | |
| 
 | |
| #endif  // CEF_LIBCEF_BROWSER_X509_CERT_PRINCIPAL_IMPL_H_
 |