Index: chrome/browser/plugin_installer.h |
=================================================================== |
--- chrome/browser/plugin_installer.h (revision 129385) |
+++ chrome/browser/plugin_installer.h (working copy) |
@@ -33,7 +33,8 @@ |
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 @@ |
// 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 @@ |
GURL help_url_; |
string16 name_; |
bool url_for_display_; |
+ bool requires_authorization_; |
DISALLOW_COPY_AND_ASSIGN(PluginInstaller); |
}; |