[email protected] | c4bdf9d | 2014-03-19 11:50:05 | [diff] [blame] | 1 | // Copyright 2014 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 | |||||
[email protected] | 2919a5e | 2014-04-24 08:34:05 | [diff] [blame] | 5 | #ifndef APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |
6 | #define APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ | ||||
[email protected] | c4bdf9d | 2014-03-19 11:50:05 | [diff] [blame] | 7 | |
michaelpg | dbdcdcc | 2017-04-06 01:40:56 | [diff] [blame] | 8 | namespace content { |
9 | class BrowserContext; | ||||
10 | } | ||||
11 | |||||
[email protected] | c4bdf9d | 2014-03-19 11:50:05 | [diff] [blame] | 12 | namespace apps { |
13 | |||||
14 | // Ensures the existence of any BrowserContextKeyedServiceFactory provided by | ||||
15 | // the core apps code. | ||||
16 | void EnsureBrowserContextKeyedServiceFactoriesBuilt(); | ||||
17 | |||||
michaelpg | dbdcdcc | 2017-04-06 01:40:56 | [diff] [blame] | 18 | // Notifies the relevant BrowserContextKeyedServices for the browser context |
19 | // that the application is being terminated. | ||||
20 | void NotifyApplicationTerminating(content::BrowserContext* browser_context); | ||||
21 | |||||
[email protected] | c4bdf9d | 2014-03-19 11:50:05 | [diff] [blame] | 22 | } // namespace apps |
23 | |||||
[email protected] | 2919a5e | 2014-04-24 08:34:05 | [diff] [blame] | 24 | #endif // APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |