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

@@ -7,7 +7,6 @@
#define CEF_LIBCEF_COMMON_EXTENSIONS_EXTENSIONS_CLIENT_H_
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "chrome/common/extensions/permissions/chrome_permission_message_provider.h"
#include "extensions/common/extensions_client.h"
#include "url/gurl.h"
@@ -18,6 +17,10 @@ namespace extensions {
class CefExtensionsClient : public ExtensionsClient {
public:
CefExtensionsClient();
CefExtensionsClient(const CefExtensionsClient&) = delete;
CefExtensionsClient& operator=(const CefExtensionsClient&) = delete;
~CefExtensionsClient() override;
// ExtensionsClient overrides:
@@ -47,8 +50,6 @@ class CefExtensionsClient : public ExtensionsClient {
// Mutable to allow caching in a const method.
const GURL webstore_base_url_;
const GURL webstore_update_url_;
DISALLOW_COPY_AND_ASSIGN(CefExtensionsClient);
};
} // namespace extensions