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

Unified Diff: apps/browser_context_keyed_service_factories.h

Issue 2789253003: Add chrome/browser/apps/BUILD.gn and move Chrome-specific code there (Closed)
Patch Set: rebase Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/app_load_service_factory.cc ('k') | apps/browser_context_keyed_service_factories.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/browser_context_keyed_service_factories.h
diff --git a/apps/browser_context_keyed_service_factories.h b/apps/browser_context_keyed_service_factories.h
index 2e206d595eb5ee81d13a25e8b839b9ebe82f7d31..45b9c2f23626415d971be960d8f232514f78a044 100644
--- a/apps/browser_context_keyed_service_factories.h
+++ b/apps/browser_context_keyed_service_factories.h
@@ -5,12 +5,20 @@
#ifndef APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
#define APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
+namespace content {
+class BrowserContext;
+}
+
namespace apps {
// Ensures the existence of any BrowserContextKeyedServiceFactory provided by
// the core 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 apps
#endif // APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
« no previous file with comments | « apps/app_load_service_factory.cc ('k') | apps/browser_context_keyed_service_factories.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698