| Index: chrome/browser/pepper_broker_infobar_delegate.h
|
| diff --git a/chrome/browser/pepper_broker_infobar_delegate.h b/chrome/browser/pepper_broker_infobar_delegate.h
|
| index 8b157180f40e06e13736bfc19a1e5b6e5b762197..2c3174bc02b9469e9acdf3c810e1e04b46d825c6 100644
|
| --- a/chrome/browser/pepper_broker_infobar_delegate.h
|
| +++ b/chrome/browser/pepper_broker_infobar_delegate.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "base/callback.h"
|
| #include "base/files/file_path.h"
|
| -#include "chrome/browser/infobars/confirm_infobar_delegate.h"
|
| +#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
|
| #include "url/gurl.h"
|
|
|
| class HostContentSettingsMap;
|
| @@ -21,7 +21,7 @@ class WebContents;
|
| // Shows an infobar that asks the user whether a Pepper plug-in is allowed
|
| // to connect to its (privileged) broker. The user decision is made "sticky"
|
| // by storing a content setting for the site.
|
| -class PepperBrokerInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| +class PepperBrokerInfoBarDelegate : public ContentConfirmInfoBarDelegate {
|
| public:
|
| // Determines whether the broker setting is allow, deny, or ask. In the first
|
| // two cases, runs the callback directly. In the third, creates a pepper
|
| @@ -33,7 +33,8 @@ class PepperBrokerInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| const base::Callback<void(bool)>& callback);
|
|
|
| private:
|
| - PepperBrokerInfoBarDelegate(const GURL& url,
|
| + PepperBrokerInfoBarDelegate(content::WebContents* web_contents,
|
| + const GURL& url,
|
| const base::FilePath& plugin_path,
|
| const std::string& languages,
|
| HostContentSettingsMap* content_settings,
|
|
|