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/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/prefs/pref_member.h" | 13 #include "base/prefs/pref_member.h" |
14 #include "base/time.h" | 14 #include "base/time/time.h" |
15 #include "base/timer.h" | 15 #include "base/timer/timer.h" |
16 #include "chrome/browser/notifications/notification.h" | 16 #include "chrome/browser/notifications/notification.h" |
17 #include "chrome/browser/notifications/notification_ui_manager.h" | 17 #include "chrome/browser/notifications/notification_ui_manager.h" |
18 #include "chrome/browser/notifications/notification_ui_manager_impl.h" | 18 #include "chrome/browser/notifications/notification_ui_manager_impl.h" |
19 #include "ui/message_center/message_center.h" | 19 #include "ui/message_center/message_center.h" |
20 #include "ui/message_center/message_center_observer.h" | 20 #include "ui/message_center/message_center_observer.h" |
21 #include "ui/message_center/message_center_tray_delegate.h" | 21 #include "ui/message_center/message_center_tray_delegate.h" |
22 | 22 |
23 class MessageCenterSettingsController; | 23 class MessageCenterSettingsController; |
24 class Notification; | 24 class Notification; |
25 class PrefService; | 25 class PrefService; |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // Provides weak pointers for the purpose of the first run timer. | 210 // Provides weak pointers for the purpose of the first run timer. |
211 base::WeakPtrFactory<MessageCenterNotificationManager> weak_factory_; | 211 base::WeakPtrFactory<MessageCenterNotificationManager> weak_factory_; |
212 #endif | 212 #endif |
213 | 213 |
214 scoped_ptr<MessageCenterSettingsController> settings_controller_; | 214 scoped_ptr<MessageCenterSettingsController> settings_controller_; |
215 | 215 |
216 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); | 216 DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); |
217 }; | 217 }; |
218 | 218 |
219 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ | 219 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_MANAGER_H_ |
OLD | NEW |