| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DESKTOP_NOTIFICATION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/string16.h" |
| 12 #include "chrome/browser/notifications/notification.h" | 13 #include "chrome/browser/notifications/notification.h" |
| 13 #include "chrome/common/content_settings.h" | 14 #include "chrome/common/content_settings.h" |
| 14 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
| 15 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
| 16 #include "chrome/common/notification_service.h" | 17 #include "chrome/common/notification_service.h" |
| 17 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 18 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" | 19 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" |
| 19 | 20 |
| 20 class NotificationUIManager; | 21 class NotificationUIManager; |
| 21 class NotificationsPrefsCache; | 22 class NotificationsPrefsCache; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 scoped_refptr<NotificationsPrefsCache> prefs_cache_; | 130 scoped_refptr<NotificationsPrefsCache> prefs_cache_; |
| 130 | 131 |
| 131 // Non-owned pointer to the notification manager which manages the | 132 // Non-owned pointer to the notification manager which manages the |
| 132 // UI for desktop toasts. | 133 // UI for desktop toasts. |
| 133 NotificationUIManager* ui_manager_; | 134 NotificationUIManager* ui_manager_; |
| 134 | 135 |
| 135 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); | 136 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); |
| 136 }; | 137 }; |
| 137 | 138 |
| 138 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ | 139 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ |
| OLD | NEW |