OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "apps/app_keep_alive_service_factory.h" | 5 #include "apps/app_keep_alive_service_factory.h" |
6 | 6 |
7 #include "apps/app_keep_alive_service.h" | 7 #include "apps/app_keep_alive_service.h" |
8 #include "apps/app_lifetime_monitor_factory.h" | 8 #include "apps/app_lifetime_monitor_factory.h" |
9 #include "apps/shell_window_registry.h" | 9 #include "apps/app_window_registry.h" |
10 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" | 10 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" |
11 #include "extensions/browser/extensions_browser_client.h" | 11 #include "extensions/browser/extensions_browser_client.h" |
12 | 12 |
13 namespace apps { | 13 namespace apps { |
14 | 14 |
15 // static | 15 // static |
16 AppKeepAliveServiceFactory* AppKeepAliveServiceFactory::GetInstance() { | 16 AppKeepAliveServiceFactory* AppKeepAliveServiceFactory::GetInstance() { |
17 return Singleton<AppKeepAliveServiceFactory>::get(); | 17 return Singleton<AppKeepAliveServiceFactory>::get(); |
18 } | 18 } |
19 | 19 |
(...skipping 19 matching lines...) Expand all Loading... |
39 content::BrowserContext* context) const { | 39 content::BrowserContext* context) const { |
40 return extensions::ExtensionsBrowserClient::Get()-> | 40 return extensions::ExtensionsBrowserClient::Get()-> |
41 GetOriginalContext(context); | 41 GetOriginalContext(context); |
42 } | 42 } |
43 | 43 |
44 bool AppKeepAliveServiceFactory::ServiceIsNULLWhileTesting() const { | 44 bool AppKeepAliveServiceFactory::ServiceIsNULLWhileTesting() const { |
45 return true; | 45 return true; |
46 } | 46 } |
47 | 47 |
48 } // namespace apps | 48 } // namespace apps |
OLD | NEW |