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

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

Issue 1814923002: Nuke NotificationUIManager from PlatformNotificationServiceImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@profile_manager_load
Patch Set: Created 4 years, 8 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_NOTIFICATION_DISPLAY_SERVICE_FACTORY_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_DISPLAY_SERVICE_FACTORY_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/notifications/notification_display_service.h"
10 #include "components/keyed_service/content/browser_context_dependency_manager.h"
11 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
Peter Beverloo 2016/04/18 14:57:10 nit: Forward declare the NotificationDisplayServic
Miguel Garcia 2016/04/19 14:24:57 Done.
12
13 class NotificationDisplayServiceFactory
14 : public BrowserContextKeyedServiceFactory {
15 public:
16 NotificationDisplayServiceFactory();
17
18 static NotificationDisplayService* GetForProfile(Profile* profile);
19 static NotificationDisplayServiceFactory* GetInstance();
20
21 private:
22 // BrowserContextKeyedBaseFactory implementation.
23 KeyedService* BuildServiceInstanceFor(
24 content::BrowserContext* context) const override;
25 content::BrowserContext* GetBrowserContextToUse(
26 content::BrowserContext* context) const override;
27 };
Peter Beverloo 2016/04/18 14:57:10 DISALLOW_COPY_AND_ASSIGN(NotificationDisplayServic
Miguel Garcia 2016/04/19 14:24:57 Done.
28
29 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_DISPLAY_SERVICE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698