Address cpplint issue "DISALLOW_COPY_AND_ASSIGN should be the last thing in the class [readability/constructors] [3]"
This commit is contained in:
parent
161b4e752b
commit
bf86718d61
2 changed files with 4 additions and 3 deletions
|
@ -18,13 +18,13 @@ class NotificationPresenterWin7 :
|
||||||
Win32Notification* GetNotificationObjectByTag(const std::string& tag);
|
Win32Notification* GetNotificationObjectByTag(const std::string& tag);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DISALLOW_COPY_AND_ASSIGN(NotificationPresenterWin7);
|
|
||||||
|
|
||||||
brightray::Notification* CreateNotificationObject(
|
brightray::Notification* CreateNotificationObject(
|
||||||
NotificationDelegate* delegate) override;
|
NotificationDelegate* delegate) override;
|
||||||
|
|
||||||
void OnNotificationClicked(Notification& notification) override;
|
void OnNotificationClicked(Notification& notification) override;
|
||||||
void OnNotificationDismissed(Notification& notification) override;
|
void OnNotificationDismissed(Notification& notification) override;
|
||||||
|
|
||||||
|
DISALLOW_COPY_AND_ASSIGN(NotificationPresenterWin7);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace brightray
|
} // namespace brightray
|
||||||
|
|
|
@ -24,9 +24,10 @@ class Win32Notification : public brightray::Notification {
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DISALLOW_COPY_AND_ASSIGN(Win32Notification);
|
|
||||||
DesktopNotificationController::Notification notification_ref_;
|
DesktopNotificationController::Notification notification_ref_;
|
||||||
std::string tag_;
|
std::string tag_;
|
||||||
|
|
||||||
|
DISALLOW_COPY_AND_ASSIGN(Win32Notification);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace brightray
|
} // namespace brightray
|
||||||
|
|
Loading…
Reference in a new issue