Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: chrome/browser/notifications/message_center_notification_display_service.h

Issue 1814923002: Nuke NotificationUIManager from PlatformNotificationServiceImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@profile_manager_load
Patch Set: Rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698