| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index 6ca2501552e8cb1ed25b9193d063eb61cb35a675..bafcf2189806a32675289ed960685e9edddc17ee 100644
|
| --- a/chrome/browser/extensions/extension_host.cc
|
| +++ b/chrome/browser/extensions/extension_host.cc
|
| @@ -21,7 +21,6 @@
|
| #include "chrome/browser/extensions/extension_tab_util.h"
|
| #include "chrome/browser/extensions/extension_web_contents_observer.h"
|
| #include "chrome/browser/media/media_capture_devices_dispatcher.h"
|
| -#include "chrome/browser/ui/prefs/prefs_tab_helper.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| @@ -142,7 +141,6 @@ ExtensionHost::ExtensionHost(const Extension* extension,
|
| SetViewType(host_contents_.get(), host_type);
|
|
|
| ExtensionWebContentsObserver::CreateForWebContents(host_contents());
|
| - PrefsTabHelper::CreateForWebContents(host_contents());
|
|
|
| render_view_host_ = host_contents_->GetRenderViewHost();
|
|
|
| @@ -150,6 +148,8 @@ ExtensionHost::ExtensionHost(const Extension* extension,
|
| // be the same extension that this points to.
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| content::Source<BrowserContext>(browser_context_));
|
| +
|
| + ExtensionsBrowserClient::Get()->OnExtensionHostCreated(host_contents());
|
| }
|
|
|
| ExtensionHost::~ExtensionHost() {
|
|
|