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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_STATS_COLLECTOR_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_STATS_COLLECTOR_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_STATS_COLLECTOR_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_STATS_COLLECTOR_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h"
11 #include "ui/message_center/message_center.h" 12 #include "ui/message_center/message_center.h"
12 #include "ui/message_center/message_center_observer.h" 13 #include "ui/message_center/message_center_observer.h"
13 #include "ui/message_center/message_center_types.h" 14 #include "ui/message_center/message_center_types.h"
14 15
15 namespace message_center { 16 namespace message_center {
16 class MessageCenter; 17 class MessageCenter;
17 } 18 }
18 19
19 // MessageCenterStatsCollector sends both raw and per-notification statistics 20 // MessageCenterStatsCollector sends both raw and per-notification statistics
20 // to the UMA servers, if the user has opted in. It observes the message center 21 // to the UMA servers, if the user has opted in. It observes the message center
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Weak, global. 82 // Weak, global.
82 message_center::MessageCenter* message_center_; 83 message_center::MessageCenter* message_center_;
83 84
84 typedef std::map<std::string,NotificationStats> StatsCollection; 85 typedef std::map<std::string,NotificationStats> StatsCollection;
85 StatsCollection stats_; 86 StatsCollection stats_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(MessageCenterStatsCollector); 88 DISALLOW_COPY_AND_ASSIGN(MessageCenterStatsCollector);
88 }; 89 };
89 90
90 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_STATS_COLLECTOR_H_ 91 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_STATS_COLLECTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698