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

Unified Diff: chrome/browser/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
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_
« no previous file with comments | « chrome/browser/apps/app_load_service_factory.cc ('k') | chrome/browser/apps/browser_context_keyed_service_factories.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698