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

Side by Side Diff: apps/app_keep_alive_service_factory.h

Issue 172313004: Remove unused AppKeepAliveService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (keep_alive_service) Created 6 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 | Annotate | Revision Log
« no previous file with comments | « apps/app_keep_alive_service.cc ('k') | apps/app_keep_alive_service_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 APPS_APP_KEEP_ALIVE_SERVICE_FACTORY_H_
6 #define APPS_APP_KEEP_ALIVE_SERVICE_FACTORY_H_
7
8 #include "base/memory/singleton.h"
9 #include "components/browser_context_keyed_service/browser_context_keyed_service _factory.h"
10
11 namespace apps {
12
13 class AppKeepAliveService;
14
15 class AppKeepAliveServiceFactory : public BrowserContextKeyedServiceFactory {
16 public:
17 static AppKeepAliveServiceFactory* GetInstance();
18
19 private:
20 friend struct DefaultSingletonTraits<AppKeepAliveServiceFactory>;
21
22 AppKeepAliveServiceFactory();
23 virtual ~AppKeepAliveServiceFactory();
24
25 // BrowserContextKeyedServiceFactory:
26 virtual BrowserContextKeyedService* BuildServiceInstanceFor(
27 content::BrowserContext* context) const OVERRIDE;
28 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
29 virtual content::BrowserContext* GetBrowserContextToUse(
30 content::BrowserContext* context) const OVERRIDE;
31 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
32 };
33
34 } // namespace apps
35
36 #endif // APPS_APP_KEEP_ALIVE_SERVICE_FACTORY_H_
OLDNEW
« no previous file with comments | « apps/app_keep_alive_service.cc ('k') | apps/app_keep_alive_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698