Chromium Code Reviews| Index: chrome/browser/plugin_installer.h |
| diff --git a/chrome/browser/plugin_installer.h b/chrome/browser/plugin_installer.h |
| index bd2606d1d33e0cd5ceabf1ac4df61bdf97624ef7..5b1ba07f80361385291591ffd97c170ada7a5a33 100644 |
| --- a/chrome/browser/plugin_installer.h |
| +++ b/chrome/browser/plugin_installer.h |
| @@ -44,7 +44,8 @@ class PluginInstaller : public content::DownloadItem::Observer { |
| const string16& name, |
| bool url_for_display, |
| const GURL& plugin_url, |
| - const GURL& help_url); |
| + const GURL& help_url, |
| + const string16& group_name_matcher); |
| virtual ~PluginInstaller(); |
| virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; |
| @@ -62,6 +63,9 @@ class PluginInstaller : public content::DownloadItem::Observer { |
| // Human-readable name of the plug-in. |
| const string16& name() const { return name_; } |
| + // Checks if the plug-in matches the group matcher. |
| + bool IsPluginMatchingGroupMatcher(const webkit::WebPluginInfo& plugin); |
|
Bernhard Bauer
2012/08/23 09:05:07
Nit: Just "MatchesPlugin()"?
ibraaaa
2012/08/23 09:58:33
Done.
|
| + |
| // 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 |
| @@ -108,6 +112,7 @@ class PluginInstaller : public content::DownloadItem::Observer { |
| std::string identifier_; |
| string16 name_; |
| + string16 group_name_matcher_; |
| bool url_for_display_; |
| GURL plugin_url_; |
| GURL help_url_; |