| 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/prefs/pref_member.h" | 17 #include "base/prefs/pref_member.h" |
| 18 #include "base/scoped_observer.h" | 18 #include "base/scoped_observer.h" |
| 19 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
| 20 #include "chrome/browser/content_settings/content_settings_provider.h" | |
| 21 #include "chrome/browser/content_settings/permission_context_base.h" | 20 #include "chrome/browser/content_settings/permission_context_base.h" |
| 22 #include "chrome/browser/notifications/extension_welcome_notification.h" | 21 #include "chrome/browser/notifications/extension_welcome_notification.h" |
| 22 #include "components/content_settings/core/browser/content_settings_provider.h" |
| 23 #include "components/content_settings/core/common/content_settings.h" | 23 #include "components/content_settings/core/common/content_settings.h" |
| 24 #include "components/keyed_service/core/keyed_service.h" | 24 #include "components/keyed_service/core/keyed_service.h" |
| 25 #include "extensions/browser/extension_registry_observer.h" | 25 #include "extensions/browser/extension_registry_observer.h" |
| 26 #include "third_party/WebKit/public/platform/WebNotificationPermission.h" | 26 #include "third_party/WebKit/public/platform/WebNotificationPermission.h" |
| 27 #include "third_party/WebKit/public/web/WebTextDirection.h" | 27 #include "third_party/WebKit/public/web/WebTextDirection.h" |
| 28 #include "ui/message_center/notifier_settings.h" | 28 #include "ui/message_center/notifier_settings.h" |
| 29 #include "url/gurl.h" | 29 #include "url/gurl.h" |
| 30 | 30 |
| 31 class ContentSettingsPattern; | 31 class ContentSettingsPattern; |
| 32 class Notification; | 32 class Notification; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 // Welcome Notification | 159 // Welcome Notification |
| 160 scoped_ptr<ExtensionWelcomeNotification> chrome_now_welcome_notification_; | 160 scoped_ptr<ExtensionWelcomeNotification> chrome_now_welcome_notification_; |
| 161 | 161 |
| 162 base::WeakPtrFactory<DesktopNotificationService> weak_factory_; | 162 base::WeakPtrFactory<DesktopNotificationService> weak_factory_; |
| 163 | 163 |
| 164 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); | 164 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ | 167 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ |
| OLD | NEW |