| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ | 5 #ifndef APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |
| 6 #define APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ | 6 #define APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |
| 7 | 7 |
| 8 namespace content { |
| 9 class BrowserContext; |
| 10 } |
| 11 |
| 8 namespace apps { | 12 namespace apps { |
| 9 | 13 |
| 10 // Ensures the existence of any BrowserContextKeyedServiceFactory provided by | 14 // Ensures the existence of any BrowserContextKeyedServiceFactory provided by |
| 11 // the core apps code. | 15 // the core apps code. |
| 12 void EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 16 void EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 13 | 17 |
| 18 // Notifies the relevant BrowserContextKeyedServices for the browser context |
| 19 // that the application is being terminated. |
| 20 void NotifyApplicationTerminating(content::BrowserContext* browser_context); |
| 21 |
| 14 } // namespace apps | 22 } // namespace apps |
| 15 | 23 |
| 16 #endif // APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ | 24 #endif // APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |
| OLD | NEW |