X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fnotifications%2Fgoogle_now_notification_stats_collector.h;h=9ce460bb90568a77a14b8b52c724293e72829b13;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=1fd13878c9e24b3517d1b735cbf74c32503164e5;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/notifications/google_now_notification_stats_collector.h b/src/chrome/browser/notifications/google_now_notification_stats_collector.h index 1fd1387..9ce460b 100644 --- a/src/chrome/browser/notifications/google_now_notification_stats_collector.h +++ b/src/chrome/browser/notifications/google_now_notification_stats_collector.h @@ -18,21 +18,21 @@ class GoogleNowNotificationStatsCollector public: explicit GoogleNowNotificationStatsCollector( message_center::MessageCenter* message_center); - virtual ~GoogleNowNotificationStatsCollector(); + ~GoogleNowNotificationStatsCollector() override; private: // MessageCenterObserver - virtual void OnNotificationDisplayed( + void OnNotificationDisplayed( const std::string& notification_id, - const message_center::DisplaySource source) OVERRIDE; - virtual void OnCenterVisibilityChanged( - message_center::Visibility visibility) OVERRIDE; + const message_center::DisplaySource source) override; + void OnCenterVisibilityChanged( + message_center::Visibility visibility) override; // Counts the number of Google Now Notifications in the message center. int CountVisibleGoogleNowNotifications(); - // Returns true if the notification ID is for Google Now. - bool IsNotificationIdForGoogleNow(const std::string& notification_id); + // Returns true if the ID of a visible notification is for Google Now. + bool IsVisibleNotificationIdForGoogleNow(const std::string& notification_id); // Weak, global. message_center::MessageCenter* message_center_;