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:
@@ -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
|
||||
|
Reference in New Issue
Block a user