Index: chrome/browser/plugins/plugin_installer.cc |
diff --git a/chrome/browser/plugins/plugin_installer.cc b/chrome/browser/plugins/plugin_installer.cc |
index 678addd6dba53ff6e761191cc90006961d6002e9..2b2ea7e87546380ba9ee5c5d4cecc13e5829b940 100644 |
--- a/chrome/browser/plugins/plugin_installer.cc |
+++ b/chrome/browser/plugins/plugin_installer.cc |
@@ -129,11 +129,9 @@ void PluginInstaller::RemoveWeakObserver( |
weak_observers_.RemoveObserver(observer); |
} |
-void PluginInstaller::StartInstalling(bool url_for_display, |
- const GURL& plugin_url, |
+void PluginInstaller::StartInstalling(const GURL& plugin_url, |
TabContents* tab_contents) { |
DCHECK_EQ(INSTALLER_STATE_IDLE, state_); |
- DCHECK(url_for_display); |
state_ = INSTALLER_STATE_DOWNLOADING; |
FOR_EACH_OBSERVER(PluginInstallerObserver, observers_, DownloadStarted()); |
content::WebContents* web_contents = tab_contents->web_contents(); |
@@ -174,11 +172,9 @@ void PluginInstaller::DownloadStarted( |
download_item->AddObserver(this); |
} |
-void PluginInstaller::OpenDownloadURL(bool url_for_display, |
- const GURL& plugin_url, |
+void PluginInstaller::OpenDownloadURL(const GURL& plugin_url, |
content::WebContents* web_contents) { |
DCHECK_EQ(INSTALLER_STATE_IDLE, state_); |
- DCHECK(url_for_display); |
web_contents->OpenURL(content::OpenURLParams( |
plugin_url, |
content::Referrer(web_contents->GetURL(), |