mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DISALLOW_ macro from libcef/ (see issue #3234)
Also perform related C++ cleanup: - Use =default instead of {} for default implementations of constructors/destructors. - Replace typedef with using.
This commit is contained in:
@@ -17,6 +17,9 @@ class CefX509CertificateImpl : public CefX509Certificate {
|
||||
public:
|
||||
explicit CefX509CertificateImpl(scoped_refptr<net::X509Certificate> cert);
|
||||
|
||||
CefX509CertificateImpl(const CefX509CertificateImpl&) = delete;
|
||||
CefX509CertificateImpl& operator=(const CefX509CertificateImpl&) = delete;
|
||||
|
||||
// Used with AlloyContentBrowserClient::SelectClientCertificate only.
|
||||
explicit CefX509CertificateImpl(
|
||||
std::unique_ptr<net::ClientCertIdentity> identity);
|
||||
@@ -47,7 +50,6 @@ class CefX509CertificateImpl : public CefX509Certificate {
|
||||
IssuerChainBinaryList der_encoded_issuer_chain_;
|
||||
|
||||
IMPLEMENT_REFCOUNTING(CefX509CertificateImpl);
|
||||
DISALLOW_COPY_AND_ASSIGN(CefX509CertificateImpl);
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_X509_CERTIFICATE_IMPL_H_
|
||||
|
Reference in New Issue
Block a user