| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_NOTIFICATION_PLATFORM_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <set> | 9 #include <set> |
| 9 #include <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "chrome/browser/notifications/notification_common.h" | 14 #include "chrome/browser/notifications/notification_common.h" |
| 14 | 15 |
| 15 class Notification; | 16 class Notification; |
| 16 | 17 |
| 17 // Provides the low-level interface that enables notifications to be displayed | 18 // Provides the low-level interface that enables notifications to be displayed |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 const DisplayedNotificationsCallback& callback) const = 0; | 49 const DisplayedNotificationsCallback& callback) const = 0; |
| 49 | 50 |
| 50 protected: | 51 protected: |
| 51 NotificationPlatformBridge() {} | 52 NotificationPlatformBridge() {} |
| 52 | 53 |
| 53 private: | 54 private: |
| 54 DISALLOW_COPY_AND_ASSIGN(NotificationPlatformBridge); | 55 DISALLOW_COPY_AND_ASSIGN(NotificationPlatformBridge); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_H_ | 58 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_H_ |
| OLD | NEW |