From bf86718d610d4df6f7ce96f52484197538a2cd83 Mon Sep 17 00:00:00 2001 From: Ales Pergl Date: Wed, 5 Apr 2017 13:16:41 +0200 Subject: [PATCH] Address cpplint issue "DISALLOW_COPY_AND_ASSIGN should be the last thing in the class [readability/constructors] [3]" --- brightray/browser/win/notification_presenter_win7.h | 4 ++-- brightray/browser/win/win32_notification.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/brightray/browser/win/notification_presenter_win7.h b/brightray/browser/win/notification_presenter_win7.h index 5021d2c41ca..c191439befc 100644 --- a/brightray/browser/win/notification_presenter_win7.h +++ b/brightray/browser/win/notification_presenter_win7.h @@ -18,13 +18,13 @@ class NotificationPresenterWin7 : Win32Notification* GetNotificationObjectByTag(const std::string& tag); private: - DISALLOW_COPY_AND_ASSIGN(NotificationPresenterWin7); - brightray::Notification* CreateNotificationObject( NotificationDelegate* delegate) override; void OnNotificationClicked(Notification& notification) override; void OnNotificationDismissed(Notification& notification) override; + + DISALLOW_COPY_AND_ASSIGN(NotificationPresenterWin7); }; } // namespace brightray diff --git a/brightray/browser/win/win32_notification.h b/brightray/browser/win/win32_notification.h index c45352d145e..9a418cd5037 100644 --- a/brightray/browser/win/win32_notification.h +++ b/brightray/browser/win/win32_notification.h @@ -24,9 +24,10 @@ class Win32Notification : public brightray::Notification { } private: - DISALLOW_COPY_AND_ASSIGN(Win32Notification); DesktopNotificationController::Notification notification_ref_; std::string tag_; + + DISALLOW_COPY_AND_ASSIGN(Win32Notification); }; } // namespace brightray