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:
Marshall Greenblatt
2021-12-06 15:40:25 -05:00
parent 83ffc1f00d
commit 9484d6528c
205 changed files with 944 additions and 542 deletions

View File

@@ -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_