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:
@@ -44,6 +44,10 @@ class CertPolicy {
|
||||
class CefSSLHostStateDelegate : public content::SSLHostStateDelegate {
|
||||
public:
|
||||
CefSSLHostStateDelegate();
|
||||
|
||||
CefSSLHostStateDelegate(const CefSSLHostStateDelegate&) = delete;
|
||||
CefSSLHostStateDelegate& operator=(const CefSSLHostStateDelegate&) = delete;
|
||||
|
||||
~CefSSLHostStateDelegate() override;
|
||||
|
||||
// SSLHostStateDelegate methods:
|
||||
@@ -75,8 +79,6 @@ class CefSSLHostStateDelegate : public content::SSLHostStateDelegate {
|
||||
private:
|
||||
// Certificate policies for each host.
|
||||
std::map<std::string, internal::CertPolicy> cert_policy_for_host_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(CefSSLHostStateDelegate);
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_SSL_HOST_STATE_DELEGATE_H_
|
||||
|
Reference in New Issue
Block a user