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