// ListenFor for the notifications you are interested in.
TestNotificationTracker();
- virtual ~TestNotificationTracker();
+ ~TestNotificationTracker() override;
// Makes this object listen for the given notification with the given source.
void ListenFor(int type, const NotificationSource& source);
const Event& at(size_t i) const { return events_[i]; }
protected:
- virtual void Observe(int type,
- const NotificationSource& source,
- const NotificationDetails& details) OVERRIDE;
+ void Observe(int type,
+ const NotificationSource& source,
+ const NotificationDetails& details) override;
+
private:
NotificationRegistrar registrar_;