| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "third_party/WebKit/public/platform/WebNotificationPermission.h" | 13 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onPermission.h" |
| 14 | 14 |
| 15 class GURL; | 15 class GURL; |
| 16 class SkBitmap; | 16 class SkBitmap; |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 | 19 |
| 20 class BrowserContext; | 20 class BrowserContext; |
| 21 class DesktopNotificationDelegate; | 21 class DesktopNotificationDelegate; |
| 22 struct PlatformNotificationData; | 22 struct PlatformNotificationData; |
| 23 class ResourceContext; | 23 class ResourceContext; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // Closes the persistent notification identified by | 61 // Closes the persistent notification identified by |
| 62 // |persistent_notification_id|. This method must be called on the UI thread. | 62 // |persistent_notification_id|. This method must be called on the UI thread. |
| 63 virtual void ClosePersistentNotification( | 63 virtual void ClosePersistentNotification( |
| 64 BrowserContext* browser_context, | 64 BrowserContext* browser_context, |
| 65 const std::string& persistent_notification_id) = 0; | 65 const std::string& persistent_notification_id) = 0; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace content | 68 } // namespace content |
| 69 | 69 |
| 70 #endif // CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ | 70 #endif // CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ |
| OLD | NEW |