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 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
17 #include "chrome/browser/notifications/google_now_notification_stats_collector.h
" | 18 #include "chrome/browser/notifications/google_now_notification_stats_collector.h
" |
18 #include "chrome/browser/notifications/message_center_stats_collector.h" | 19 #include "chrome/browser/notifications/message_center_stats_collector.h" |
19 #include "chrome/browser/notifications/notification.h" | 20 #include "chrome/browser/notifications/notification.h" |
20 #include "chrome/browser/notifications/notification_system_observer.h" | 21 #include "chrome/browser/notifications/notification_system_observer.h" |
21 #include "chrome/browser/notifications/notification_ui_manager.h" | 22 #include "chrome/browser/notifications/notification_ui_manager.h" |
22 #include "ui/message_center/message_center.h" | 23 #include "ui/message_center/message_center.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // Keeps track of all notification statistics for UMA purposes. | 118 // Keeps track of all notification statistics for UMA purposes. |
118 MessageCenterStatsCollector stats_collector_; | 119 MessageCenterStatsCollector stats_collector_; |
119 | 120 |
120 // Keeps track of notifications specific to Google Now for UMA purposes. | 121 // Keeps track of notifications specific to Google Now for UMA purposes. |
121 GoogleNowNotificationStatsCollector google_now_stats_collector_; | 122 GoogleNowNotificationStatsCollector google_now_stats_collector_; |
122 | 123 |
123 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); | 124 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); |
124 }; | 125 }; |
125 | 126 |
126 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ | 127 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ |
OLD | NEW |