Move extensions BCKS factory creation
The list of BCKS factories being poked by ChromeBrowserMainExtraPartsProfiles
is quite long and extensions code is the biggest contributor to that length.
This moves extensions-related factory references into three new modules
(one for //apps, one for //extensions, and one for //c/b/extensions) and
condenses Chrome's extensions-related factory creation down to three calls
within ChromeBrowserMainExtraPartsProfiles.
BUG=352399
[email protected] (for profiles parts)
Review URL: https://codereview.chromium.org/195943018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257936 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/apps/browser_context_keyed_service_factories.h b/apps/browser_context_keyed_service_factories.h
new file mode 100644
index 0000000..d7d3fb8f
--- /dev/null
+++ b/apps/browser_context_keyed_service_factories.h
@@ -0,0 +1,16 @@
+// Copyright 2014 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 APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_
+#define APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_
+
+namespace apps {
+
+// Ensures the existence of any BrowserContextKeyedServiceFactory provided by
+// the core apps code.
+void EnsureBrowserContextKeyedServiceFactoriesBuilt();
+
+} // namespace apps
+
+#endif // APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_