Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / notifications / message_center_notification_manager.h
index a87520d..e8400f9 100644 (file)
@@ -14,6 +14,7 @@
 #include "base/prefs/pref_member.h"
 #include "base/time/time.h"
 #include "base/timer/timer.h"
+#include "chrome/browser/notifications/google_now_notification_stats_collector.h"
 #include "chrome/browser/notifications/message_center_stats_collector.h"
 #include "chrome/browser/notifications/notification.h"
 #include "chrome/browser/notifications/notification_system_observer.h"
@@ -27,6 +28,7 @@
 
 class MessageCenterSettingsController;
 class Notification;
+class PrefRegistrySimple;
 class PrefService;
 class Profile;
 
@@ -48,6 +50,9 @@ class MessageCenterNotificationManager
       scoped_ptr<message_center::NotifierSettingsProvider> settings_provider);
   virtual ~MessageCenterNotificationManager();
 
+  // Registers preferences.
+  static void RegisterPrefs(PrefRegistrySimple* registry);
+
   // NotificationUIManager
   virtual void Add(const Notification& notification,
                    Profile* profile) OVERRIDE;
@@ -236,6 +241,9 @@ class MessageCenterNotificationManager
   // Keeps track of all notification statistics for UMA purposes.
   MessageCenterStatsCollector stats_collector_;
 
+  // Keeps track of notifications specific to Google Now for UMA purposes.
+  GoogleNowNotificationStatsCollector google_now_stats_collector_;
+
   DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager);
 };