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 <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/prefs/pref_member.h" | 14 #include "base/prefs/pref_member.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
17 #include "chrome/browser/notifications/google_now_notification_stats_collector.h
" | 17 #include "chrome/browser/notifications/extensions/google_now_notification_stats_
collector.h" |
18 #include "chrome/browser/notifications/message_center_stats_collector.h" | 18 #include "chrome/browser/notifications/message_center_stats_collector.h" |
19 #include "chrome/browser/notifications/notification.h" | 19 #include "chrome/browser/notifications/notification.h" |
20 #include "chrome/browser/notifications/notification_system_observer.h" | 20 #include "chrome/browser/notifications/notification_system_observer.h" |
21 #include "chrome/browser/notifications/notification_ui_manager.h" | 21 #include "chrome/browser/notifications/notification_ui_manager.h" |
22 #include "content/public/browser/notification_observer.h" | 22 #include "content/public/browser/notification_observer.h" |
23 #include "content/public/browser/notification_registrar.h" | 23 #include "content/public/browser/notification_registrar.h" |
24 #include "ui/message_center/message_center.h" | 24 #include "ui/message_center/message_center.h" |
25 #include "ui/message_center/message_center_observer.h" | 25 #include "ui/message_center/message_center_observer.h" |
26 #include "ui/message_center/message_center_tray_delegate.h" | 26 #include "ui/message_center/message_center_tray_delegate.h" |
27 #include "ui/message_center/message_center_types.h" | 27 #include "ui/message_center/message_center_types.h" |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 // Keeps track of all notification statistics for UMA purposes. | 244 // Keeps track of all notification statistics for UMA purposes. |
245 MessageCenterStatsCollector stats_collector_; | 245 MessageCenterStatsCollector stats_collector_; |
246 | 246 |
247 // Keeps track of notifications specific to Google Now for UMA purposes. | 247 // Keeps track of notifications specific to Google Now for UMA purposes. |
248 GoogleNowNotificationStatsCollector google_now_stats_collector_; | 248 GoogleNowNotificationStatsCollector google_now_stats_collector_; |
249 | 249 |
250 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); | 250 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); |
251 }; | 251 }; |
252 | 252 |
253 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ | 253 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ |
OLD | NEW |