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

Side by Side Diff: chrome/browser/local_discovery/privet_notifications_factory.h

Issue 1553333002: Move cloud print specific files out of local_discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveprn
Patch Set: Created 4 years, 11 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 2013 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_LOCAL_DISCOVERY_PRIVET_NOTIFICATIONS_FACTORY_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_NOTIFICATIONS_FACTORY_H_
7
8 #include "base/memory/singleton.h"
9 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
10
11 namespace local_discovery {
12
13 class PrivetNotificationServiceFactory
14 : public BrowserContextKeyedServiceFactory {
15 public:
16 // Returns singleton instance of PrivetNotificationServiceFactory.
17 static PrivetNotificationServiceFactory* GetInstance();
18
19 private:
20 friend struct base::DefaultSingletonTraits<PrivetNotificationServiceFactory>;
21
22 PrivetNotificationServiceFactory();
23 ~PrivetNotificationServiceFactory() override;
24
25 // BrowserContextKeyedServiceFactory:
26 KeyedService* BuildServiceInstanceFor(
27 content::BrowserContext* profile) const override;
28 bool ServiceIsCreatedWithBrowserContext() const override;
29 bool ServiceIsNULLWhileTesting() const override;
30 };
31
32 } // namespace local_discovery
33
34 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_NOTIFICATIONS_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privet_notifications.cc ('k') | chrome/browser/local_discovery/privet_notifications_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698