| Index: chrome/browser/plugin_installer.h
|
| diff --git a/chrome/browser/plugin_installer.h b/chrome/browser/plugin_installer.h
|
| index bd2606d1d33e0cd5ceabf1ac4df61bdf97624ef7..85a7f6f6b0c958d8fe43d26eae349d725fba0557 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 MatchesPlugin(const webkit::WebPluginInfo& plugin);
|
| +
|
| // 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_;
|
|
|