Index: chrome/browser/plugin_installer.h |
diff --git a/chrome/browser/plugin_installer.h b/chrome/browser/plugin_installer.h |
index 0b431132bc134892f2eebabe177d02659b5bc3a6..b3a9f53543c6bcc602211138d4d7ad7298b0cb59 100644 |
--- a/chrome/browser/plugin_installer.h |
+++ b/chrome/browser/plugin_installer.h |
@@ -33,7 +33,8 @@ class PluginInstaller : public content::DownloadItem::Observer { |
const GURL& plugin_url, |
const GURL& help_url, |
const string16& name, |
- bool url_for_display); |
+ bool url_for_display, |
+ bool requires_authorization); |
virtual ~PluginInstaller(); |
virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; |
@@ -55,6 +56,9 @@ class PluginInstaller : public content::DownloadItem::Observer { |
// Human-readable name of the plug-in. |
const string16& name() const { return name_; } |
+ // Whether the plug-in requires user authorization to run. |
+ bool requires_authorization() const { return requires_authorization_; } |
+ |
// If |url_for_display| is false, |plugin_url| is the URL of the download page |
// for the plug-in, which should be opened in a new tab. If it is true, |
// |plugin_url| is the URL of the plug-in installer binary, which can be |
@@ -90,6 +94,7 @@ class PluginInstaller : public content::DownloadItem::Observer { |
GURL help_url_; |
string16 name_; |
bool url_for_display_; |
+ bool requires_authorization_; |
DISALLOW_COPY_AND_ASSIGN(PluginInstaller); |
}; |