Index: trunk/src/chrome/browser/pepper_broker_infobar_delegate.h |
=================================================================== |
--- trunk/src/chrome/browser/pepper_broker_infobar_delegate.h (revision 238401) |
+++ trunk/src/chrome/browser/pepper_broker_infobar_delegate.h (working copy) |
@@ -25,15 +25,16 @@ |
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 |
- // broker infobar and delegate and adds the infobar to the InfoBarService |
- // associated with |web_contents|. |
+ // broker infobar delegate and adds it to the InfoBarService associated with |
+ // |web_contents|. |
static void Create(content::WebContents* web_contents, |
const GURL& url, |
const base::FilePath& plugin_path, |
const base::Callback<void(bool)>& callback); |
private: |
- PepperBrokerInfoBarDelegate(const GURL& url, |
+ PepperBrokerInfoBarDelegate(InfoBarService* infobar_service, |
+ const GURL& url, |
const base::FilePath& plugin_path, |
const std::string& languages, |
HostContentSettingsMap* content_settings, |