| Index: chrome/browser/plugins/plugin_observer.cc
|
| diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc
|
| index 83857747fc8ca9d42085aaa967df255e55f70770..0f574270415a9e8df03f1865234660a267efacfb 100644
|
| --- a/chrome/browser/plugins/plugin_observer.cc
|
| +++ b/chrome/browser/plugins/plugin_observer.cc
|
| @@ -360,8 +360,6 @@ bool PluginObserver::OnMessageReceived(
|
| OnOpenAboutPlugins)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_CouldNotLoadPlugin,
|
| OnCouldNotLoadPlugin)
|
| - IPC_MESSAGE_HANDLER(ChromeViewHostMsg_NPAPINotSupported,
|
| - OnNPAPINotSupported)
|
|
|
| IPC_MESSAGE_UNHANDLED(return false)
|
| IPC_END_MESSAGE_MAP()
|
| @@ -432,16 +430,3 @@ void PluginObserver::OnCouldNotLoadPlugin(const base::FilePath& plugin_path) {
|
| plugin_name),
|
| true);
|
| }
|
| -
|
| -void PluginObserver::OnNPAPINotSupported(const std::string& identifier) {
|
| -#if defined(OS_WIN) && defined(ENABLE_PLUGIN_INSTALLATION)
|
| - scoped_ptr<PluginMetadata> plugin;
|
| - bool ret = PluginFinder::GetInstance()->FindPluginWithIdentifier(
|
| - identifier, NULL, &plugin);
|
| - DCHECK(ret);
|
| -
|
| - PluginMetroModeInfoBarDelegate::Create(
|
| - InfoBarService::FromWebContents(web_contents()),
|
| - PluginMetroModeInfoBarDelegate::DESKTOP_MODE_REQUIRED, plugin->name());
|
| -#endif
|
| -}
|
|
|