Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / notifications / google_now_notification_stats_collector.h
index 1fd1387..9ce460b 100644 (file)
@@ -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_;