Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8653)

Unified Diff: chrome/default_plugin/plugin_installer_base.cc

Issue 8473001: Show missing plug-in infobar only if a plug-in is available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/default_plugin/plugin_installer_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/default_plugin/plugin_installer_base.cc
diff --git a/chrome/default_plugin/plugin_installer_base.cc b/chrome/default_plugin/plugin_installer_base.cc
index 9488b4d4d684d0a79c54bdb65dd8f95c054a5df8..8326bcb3512a9cc2d26f77a9e9e2236686f376ff 100644
--- a/chrome/default_plugin/plugin_installer_base.cc
+++ b/chrome/default_plugin/plugin_installer_base.cc
@@ -16,9 +16,9 @@ PluginInstallerBase::PluginInstallerBase()
PluginInstallerBase::~PluginInstallerBase() {
}
-bool PluginInstallerBase::Initialize(void* module_handle, NPP instance,
- NPMIMEType mime_type, int16 argc,
- char* argn[], char* argv[]) {
+void PluginInstallerBase::SetRoutingIds(int16 argc,
+ char* argn[],
+ char* argv[]) {
for (int16_t index = 0; index < argc; ++index) {
if (!base::strncasecmp(argn[index],
content::kDefaultPluginRenderProcessId,
@@ -30,5 +30,4 @@ bool PluginInstallerBase::Initialize(void* module_handle, NPP instance,
base::StringToInt(argv[index], &render_view_id_);
}
}
- return true;
}
« no previous file with comments | « chrome/default_plugin/plugin_installer_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698