mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Address cpplint issue "DISALLOW_COPY_AND_ASSIGN should be the last thing in the class [readability/constructors] [3]"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user