explicit MessageCenterStatsCollector(
message_center::MessageCenter* message_center);
- virtual ~MessageCenterStatsCollector();
+ ~MessageCenterStatsCollector() override;
private:
// Represents the aggregate stats for each notification.
};
// MessageCenterObserver
- virtual void OnNotificationAdded(const std::string& notification_id) OVERRIDE;
- virtual void OnNotificationRemoved(const std::string& notification_id,
- bool by_user) OVERRIDE;
- virtual void OnNotificationUpdated(
- const std::string& notification_id) OVERRIDE;
- virtual void OnNotificationClicked(
- const std::string& notification_id) OVERRIDE;
- virtual void OnNotificationButtonClicked(const std::string& notification_id,
- int button_index) OVERRIDE;
- virtual void OnNotificationDisplayed(
+ void OnNotificationAdded(const std::string& notification_id) override;
+ void OnNotificationRemoved(const std::string& notification_id,
+ bool by_user) override;
+ void OnNotificationUpdated(const std::string& notification_id) override;
+ void OnNotificationClicked(const std::string& notification_id) override;
+ void OnNotificationButtonClicked(const std::string& notification_id,
+ int button_index) override;
+ void OnNotificationDisplayed(
const std::string& notification_id,
- const message_center::DisplaySource source) OVERRIDE;
- virtual void OnCenterVisibilityChanged(
- message_center::Visibility visibility) OVERRIDE;
- virtual void OnQuietModeChanged(bool in_quiet_mode) OVERRIDE;
+ const message_center::DisplaySource source) override;
+ void OnCenterVisibilityChanged(
+ message_center::Visibility visibility) override;
+ void OnQuietModeChanged(bool in_quiet_mode) override;
// Weak, global.
message_center::MessageCenter* message_center_;