diff options
author | rockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 11:50:05 +0000 |
---|---|---|
committer | rockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 11:50:05 +0000 |
commit | c4bdf9def9001c3cb9a27bba14a51008dc2914c3 (patch) | |
tree | c4e11742179c3b51b407061afff16dd5bbbe7ba4 /extensions/browser/browser_context_keyed_service_factories.h | |
parent | ba1310781f66ed2f392936e2c1c74a802310dae4 (diff) | |
download | chromium_src-c4bdf9def9001c3cb9a27bba14a51008dc2914c3.zip chromium_src-c4bdf9def9001c3cb9a27bba14a51008dc2914c3.tar.gz chromium_src-c4bdf9def9001c3cb9a27bba14a51008dc2914c3.tar.bz2 |
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
TBR=erg@chromium.org (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
Diffstat (limited to 'extensions/browser/browser_context_keyed_service_factories.h')
-rw-r--r-- | extensions/browser/browser_context_keyed_service_factories.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extensions/browser/browser_context_keyed_service_factories.h b/extensions/browser/browser_context_keyed_service_factories.h new file mode 100644 index 0000000..9801a7c --- /dev/null +++ b/extensions/browser/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 EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_ +#define EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_ + +namespace extensions { + +// Ensures the existence of any BrowserContextKeyedServiceFactory provided by +// the core extensions code. +void EnsureBrowserContextKeyedServiceFactoriesBuilt(); + +} // namespace extensions + +#endif // EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_ |