| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_NOTIFICATIONS_EXTENSION_NOTIFICATION_HANDL
ER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_NOTIFICATIONS_EXTENSION_NOTIFICATION_HANDL
ER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "chrome/browser/notifications/non_persistent_notification_handler.h" |
| 10 |
| 11 // Handler for notifications shown by extensions. Will be created and owned by |
| 12 // the NotificationDisplayService. |
| 13 class ExtensionNotificationHandler : public NonPersistentNotificationHandler { |
| 14 public: |
| 15 ExtensionNotificationHandler(); |
| 16 ~ExtensionNotificationHandler() override; |
| 17 |
| 18 // NotificationHandler implementation. |
| 19 void OpenSettings(Profile* profile) override; |
| 20 |
| 21 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(ExtensionNotificationHandler); |
| 23 }; |
| 24 |
| 25 #endif // CHROME_BROWSER_EXTENSIONS_API_NOTIFICATIONS_EXTENSION_NOTIFICATION_HA
NDLER_H_ |
| OLD | NEW |