OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_DISPLAY_SERVICE
_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_DISPLAY_SERVICE
_H_ |
| 7 |
| 8 #include "chrome/browser/notifications/notification_display_service.h" |
| 9 |
| 10 class Notification; |
| 11 class Profile; |
| 12 |
| 13 class MessageCenterNotificationDisplayService |
| 14 : public NotificationDisplayService { |
| 15 public: |
| 16 explicit MessageCenterNotificationDisplayService(Profile* profile); |
| 17 |
| 18 void Display(const Notification& notification) override; |
| 19 bool Close(const std::string& persistent_notification_id) override; |
| 20 std::set<std::string> GetDisplayed() const override; |
| 21 bool SupportsNotificationCenter() const override; |
| 22 }; |
| 23 |
| 24 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_NOTIFICATION_DISPLAY_SERV
ICE_H_ |
OLD | NEW |