| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 18 #include "chrome/browser/notifications/google_now_notification_stats_collector.h
" | 18 #include "chrome/browser/notifications/google_now_notification_stats_collector.h
" |
| 19 #include "chrome/browser/notifications/message_center_stats_collector.h" | 19 #include "chrome/browser/notifications/message_center_stats_collector.h" |
| 20 #include "chrome/browser/notifications/notification.h" | 20 #include "chrome/browser/notifications/notification.h" |
| 21 #include "chrome/browser/notifications/notification_system_observer.h" | 21 #include "chrome/browser/notifications/notification_system_observer.h" |
| 22 #include "chrome/browser/notifications/notification_ui_manager.h" | 22 #include "chrome/browser/notifications/notification_ui_manager.h" |
| 23 #include "ui/message_center/message_center.h" | 23 #include "ui/message_center/message_center.h" |
| 24 #include "ui/message_center/message_center_observer.h" | 24 #include "ui/message_center/message_center_observer.h" |
| 25 #include "ui/message_center/message_center_tray_delegate.h" | 25 #include "ui/message_center/message_center_tray_delegate.h" |
| 26 #include "ui/message_center/message_center_types.h" | 26 #include "ui/message_center/message_center_types.h" |
| 27 | 27 |
| 28 class MessageCenterSettingsController; | |
| 29 class Notification; | 28 class Notification; |
| 30 class Profile; | 29 class Profile; |
| 31 class ProfileNotification; | 30 class ProfileNotification; |
| 32 | 31 |
| 33 namespace message_center { | 32 namespace message_center { |
| 34 class NotificationBlocker; | 33 class NotificationBlocker; |
| 35 FORWARD_DECLARE_TEST(WebNotificationTrayTest, ManuallyCloseMessageCenter); | 34 FORWARD_DECLARE_TEST(WebNotificationTrayTest, ManuallyCloseMessageCenter); |
| 36 } | 35 } |
| 37 | 36 |
| 38 // This class extends NotificationUIManagerImpl and delegates actual display | 37 // This class extends NotificationUIManagerImpl and delegates actual display |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // Keeps track of all notification statistics for UMA purposes. | 119 // Keeps track of all notification statistics for UMA purposes. |
| 121 MessageCenterStatsCollector stats_collector_; | 120 MessageCenterStatsCollector stats_collector_; |
| 122 | 121 |
| 123 // Keeps track of notifications specific to Google Now for UMA purposes. | 122 // Keeps track of notifications specific to Google Now for UMA purposes. |
| 124 GoogleNowNotificationStatsCollector google_now_stats_collector_; | 123 GoogleNowNotificationStatsCollector google_now_stats_collector_; |
| 125 | 124 |
| 126 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); | 125 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); |
| 127 }; | 126 }; |
| 128 | 127 |
| 129 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ | 128 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ |
| OLD | NEW |