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:
@@ -8,7 +8,6 @@
|
||||
#include <map>
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/macros.h"
|
||||
#include "extensions/browser/component_extension_resource_manager.h"
|
||||
|
||||
namespace webui {
|
||||
@@ -21,6 +20,12 @@ class CefComponentExtensionResourceManager
|
||||
: public ComponentExtensionResourceManager {
|
||||
public:
|
||||
CefComponentExtensionResourceManager();
|
||||
|
||||
CefComponentExtensionResourceManager(
|
||||
const CefComponentExtensionResourceManager&) = delete;
|
||||
CefComponentExtensionResourceManager& operator=(
|
||||
const CefComponentExtensionResourceManager&) = delete;
|
||||
|
||||
~CefComponentExtensionResourceManager() override;
|
||||
|
||||
// Overridden from ComponentExtensionResourceManager:
|
||||
@@ -42,8 +47,6 @@ class CefComponentExtensionResourceManager
|
||||
using TemplateReplacementMap =
|
||||
std::map<std::string, ui::TemplateReplacements>;
|
||||
TemplateReplacementMap template_replacements_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(CefComponentExtensionResourceManager);
|
||||
};
|
||||
|
||||
} // namespace extensions
|
||||
|
Reference in New Issue
Block a user