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_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 | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/string16.h" | 13 #include "base/string16.h" |
15 #include "chrome/browser/content_settings/content_settings_provider.h" | 14 #include "chrome/browser/content_settings/content_settings_provider.h" |
16 #include "chrome/browser/profiles/profile_keyed_service.h" | 15 #include "chrome/browser/profiles/profile_keyed_service.h" |
17 #include "chrome/common/content_settings.h" | 16 #include "chrome/common/content_settings.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // Non-owned pointer to the notification manager which manages the | 163 // Non-owned pointer to the notification manager which manages the |
165 // UI for desktop toasts. | 164 // UI for desktop toasts. |
166 NotificationUIManager* ui_manager_; | 165 NotificationUIManager* ui_manager_; |
167 | 166 |
168 content::NotificationRegistrar notification_registrar_; | 167 content::NotificationRegistrar notification_registrar_; |
169 | 168 |
170 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); | 169 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); |
171 }; | 170 }; |
172 | 171 |
173 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ | 172 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ |
OLD | NEW |