Index: chrome/browser/apps/browser_context_keyed_service_factories.h |
diff --git a/chrome/browser/apps/browser_context_keyed_service_factories.h b/chrome/browser/apps/browser_context_keyed_service_factories.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..85412f6509dfe455c3867608f368876454af9af0 |
--- /dev/null |
+++ b/chrome/browser/apps/browser_context_keyed_service_factories.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |
+#define CHROME_BROWSER_APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |
+ |
+namespace content { |
+class BrowserContext; |
+} |
+ |
+namespace chrome_apps { |
+ |
+// Ensures the existence of any BrowserContextKeyedServiceFactory provided by |
+// the Chrome apps code. |
+void EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
+ |
+// Notifies the relevant BrowserContextKeyedServices for the browser context |
+// that the application is being terminated. |
+void NotifyApplicationTerminating(content::BrowserContext* browser_context); |
+ |
+} // namespace chrome_apps |
+ |
+#endif // CHROME_BROWSER_APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_ |