Index: chrome/renderer/plugins/chrome_plugin_placeholder.cc |
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.cc b/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
index 6bb6bd2e7366a0febe5f8fbfea6faa04bee8a272..c1788a3d2695e4085cdc40514894aea64a148b2c 100644 |
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
@@ -98,12 +98,8 @@ ChromePluginPlaceholder* ChromePluginPlaceholder::CreateMissingPlugin( |
IDR_BLOCKED_PLUGIN_HTML)); |
base::DictionaryValue values; |
-#if defined(ENABLE_PLUGIN_INSTALLATION) |
- values.SetString("message", l10n_util::GetStringUTF8(IDS_PLUGIN_SEARCHING)); |
-#else |
values.SetString("message", |
l10n_util::GetStringUTF8(IDS_PLUGIN_NOT_SUPPORTED)); |
-#endif |
std::string html_data = webui::GetI18nTemplateHtml(template_html, &values); |
@@ -111,12 +107,6 @@ ChromePluginPlaceholder* ChromePluginPlaceholder::CreateMissingPlugin( |
ChromePluginPlaceholder* missing_plugin = new ChromePluginPlaceholder( |
render_frame, frame, params, html_data, params.mimeType); |
missing_plugin->set_allow_loading(true); |
-#if defined(ENABLE_PLUGIN_INSTALLATION) |
- RenderThread::Get()->Send( |
- new ChromeViewHostMsg_FindMissingPlugin(missing_plugin->routing_id(), |
- missing_plugin->CreateRoutingId(), |
- params.mimeType.utf8())); |
-#endif |
return missing_plugin; |
} |