diff options
Diffstat (limited to 'chromium/ui/base/clipboard/clipboard_monitor.h')
-rw-r--r-- | chromium/ui/base/clipboard/clipboard_monitor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/ui/base/clipboard/clipboard_monitor.h b/chromium/ui/base/clipboard/clipboard_monitor.h index 5ba97a41eaf..5a7ad27ea28 100644 --- a/chromium/ui/base/clipboard/clipboard_monitor.h +++ b/chromium/ui/base/clipboard/clipboard_monitor.h @@ -6,7 +6,6 @@ #define UI_BASE_CLIPBOARD_CLIPBOARD_MONITOR_H_ #include "base/component_export.h" -#include "base/macros.h" #include "base/no_destructor.h" #include "base/observer_list.h" #include "base/threading/thread_checker.h" @@ -23,6 +22,9 @@ class COMPONENT_EXPORT(UI_BASE_CLIPBOARD) ClipboardMonitor { public: static ClipboardMonitor* GetInstance(); + ClipboardMonitor(const ClipboardMonitor&) = delete; + ClipboardMonitor& operator=(const ClipboardMonitor&) = delete; + // Adds an observer. void AddObserver(ClipboardObserver* observer); @@ -46,8 +48,6 @@ class COMPONENT_EXPORT(UI_BASE_CLIPBOARD) ClipboardMonitor { base::ObserverList<ClipboardObserver>::Unchecked observers_; THREAD_CHECKER(thread_checker_); - - DISALLOW_COPY_AND_ASSIGN(ClipboardMonitor); }; } // namespace ui |