diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-07 18:52:09 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-07 18:52:09 +0000 |
commit | 08b7139adaf67de70b8d79d198ecbc77d76ac551 (patch) | |
tree | cc3ae77dcef0635d39836cc138c105d6b02ce6ff /extensions/common/common_manifest_handlers.h | |
parent | 1e788d04c5e5eeeaf8a7dd77503c9187e90fb72d (diff) | |
download | chromium_src-08b7139adaf67de70b8d79d198ecbc77d76ac551.zip chromium_src-08b7139adaf67de70b8d79d198ecbc77d76ac551.tar.gz chromium_src-08b7139adaf67de70b8d79d198ecbc77d76ac551.tar.bz2 |
Allow app_shell to run past extension manifest parsing
* Extracted non-Chrome-specific manifest handler registration into
src/extensions/common/common_manfiest_handlers.cc
* Moved app_shell app load/launch code into ShellExtensionSystem so it can
signal that the system is ready
* Refactored more of runtime API to use browser context instead of Profile
* Cleaned up or removed some uses of ExtensionService
This allows app_shell to get into the background page loading code before it crashes.
BUG=162530,288226,309909
TEST=existing browser_tests of extension system
Review URL: https://codereview.chromium.org/101203008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/common_manifest_handlers.h')
-rw-r--r-- | extensions/common/common_manifest_handlers.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extensions/common/common_manifest_handlers.h b/extensions/common/common_manifest_handlers.h new file mode 100644 index 0000000..4f1d7cc --- /dev/null +++ b/extensions/common/common_manifest_handlers.h @@ -0,0 +1,17 @@ +// 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_COMMON_COMMON_MANIFEST_HANDLERS_H_ +#define EXTENSIONS_COMMON_COMMON_MANIFEST_HANDLERS_H_ + +namespace extensions { + +// Registers manifest handlers used by all embedders of the extensions system. +// Should be called once in each process. Embedders may also wish to register +// their own set of manifest handlers, such as chrome_manifest_handlers.cc. +void RegisterCommonManifestHandlers(); + +} // namespace extensions + +#endif // EXTENSIONS_COMMON_COMMON_MANIFEST_HANDLERS_H_ |