| Index: chrome/utility/chrome_content_utility_client.cc
|
| diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
|
| index c3b4fea2e74d295afdfeeb8099b61536ced9e526..069cbadad0fbdc5d1fd045642731e4e0394aef0d 100644
|
| --- a/chrome/utility/chrome_content_utility_client.cc
|
| +++ b/chrome/utility/chrome_content_utility_client.cc
|
| @@ -21,6 +21,7 @@
|
| #include "chrome/common/extensions/api/extension_action/page_action_handler.h"
|
| #include "chrome/common/extensions/api/i18n/default_locale_handler.h"
|
| #include "chrome/common/extensions/api/themes/theme_handler.h"
|
| +#include "chrome/common/extensions/background_info.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_l10n_util.h"
|
| #include "chrome/common/extensions/extension_manifest_constants.h"
|
| @@ -53,6 +54,14 @@ namespace {
|
|
|
| // Explicitly register all ManifestHandlers needed in the utility process.
|
| void RegisterExtensionManifestHandlers() {
|
| + std::vector<std::string> background_keys(
|
| + extensions::BackgroundManifestHandler::keys());
|
| + linked_ptr<extensions::BackgroundManifestHandler> background_handler(
|
| + new extensions::BackgroundManifestHandler);
|
| + for (size_t i = 0; i < background_keys.size(); ++i) {
|
| + extensions::ManifestHandler::Register(background_keys[i],
|
| + background_handler);
|
| + }
|
| extensions::ManifestHandler::Register(
|
| extension_manifest_keys::kBrowserAction,
|
| make_linked_ptr(new extensions::BrowserActionHandler));
|
|
|