Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7290)

Unified Diff: chrome/browser/pepper_broker_infobar_delegate.h

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/pepper_broker_infobar_delegate.h
===================================================================
--- chrome/browser/pepper_broker_infobar_delegate.h (revision 238220)
+++ chrome/browser/pepper_broker_infobar_delegate.h (working copy)
@@ -25,8 +25,8 @@
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 delegate and adds it to the InfoBarService associated with
- // |web_contents|.
+ // broker infobar and delegate and adds the infobar to the InfoBarService
+ // associated with |web_contents|.
static void Create(content::WebContents* web_contents,
const GURL& url,
const base::FilePath& plugin_path,
@@ -33,8 +33,7 @@
const base::Callback<void(bool)>& callback);
private:
- PepperBrokerInfoBarDelegate(InfoBarService* infobar_service,
- const GURL& url,
+ PepperBrokerInfoBarDelegate(const GURL& url,
const base::FilePath& plugin_path,
const std::string& languages,
HostContentSettingsMap* content_settings,
« no previous file with comments | « chrome/browser/password_manager/password_manager_delegate_impl.cc ('k') | chrome/browser/pepper_broker_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698