Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1038)

Side by Side Diff: chrome/browser/notifications/message_center_notification_manager.h

Issue 2727103002: Remove GoogleNowNotification stats collector (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "
19 #include "chrome/browser/notifications/message_center_stats_collector.h" 18 #include "chrome/browser/notifications/message_center_stats_collector.h"
20 #include "chrome/browser/notifications/notification.h" 19 #include "chrome/browser/notifications/notification.h"
21 #include "chrome/browser/notifications/notification_system_observer.h" 20 #include "chrome/browser/notifications/notification_system_observer.h"
22 #include "chrome/browser/notifications/notification_ui_manager.h" 21 #include "chrome/browser/notifications/notification_ui_manager.h"
23 #include "ui/message_center/message_center.h" 22 #include "ui/message_center/message_center.h"
24 #include "ui/message_center/message_center_observer.h" 23 #include "ui/message_center/message_center_observer.h"
25 #include "ui/message_center/message_center_tray_delegate.h" 24 #include "ui/message_center/message_center_tray_delegate.h"
26 #include "ui/message_center/message_center_types.h" 25 #include "ui/message_center/message_center_types.h"
27 26
28 class Notification; 27 class Notification;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 std::unique_ptr<message_center::NotifierSettingsProvider> settings_provider_; 101 std::unique_ptr<message_center::NotifierSettingsProvider> settings_provider_;
103 102
104 // To own the blockers. 103 // To own the blockers.
105 std::vector<std::unique_ptr<message_center::NotificationBlocker>> blockers_; 104 std::vector<std::unique_ptr<message_center::NotificationBlocker>> blockers_;
106 105
107 NotificationSystemObserver system_observer_; 106 NotificationSystemObserver system_observer_;
108 107
109 // Keeps track of all notification statistics for UMA purposes. 108 // Keeps track of all notification statistics for UMA purposes.
110 MessageCenterStatsCollector stats_collector_; 109 MessageCenterStatsCollector stats_collector_;
111 110
112 // Keeps track of notifications specific to Google Now for UMA purposes.
113 GoogleNowNotificationStatsCollector google_now_stats_collector_;
114
115 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); 111 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager);
116 }; 112 };
117 113
118 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ 114 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698