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

Unified Diff: chrome/browser/ui/auto_login_infobar_delegate.h

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 6 years, 9 months 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/ui/auto_login_infobar_delegate.h
diff --git a/chrome/browser/ui/auto_login_infobar_delegate.h b/chrome/browser/ui/auto_login_infobar_delegate.h
index 17367d9822cb203cffd8d76064f72826d921500f..315732542166ca7789d80fbb455e9838db7bfa04 100644
--- a/chrome/browser/ui/auto_login_infobar_delegate.h
+++ b/chrome/browser/ui/auto_login_infobar_delegate.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_
#include <string>
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
#include "chrome/browser/signin/signin_manager.h"
#include "components/auto_login_parser/auto_login_parser.h"
@@ -15,10 +15,11 @@ class Profile;
namespace content {
class NavigationController;
+class WebContents;
}
// This is the actual infobar displayed to prompt the user to auto-login.
-class AutoLoginInfoBarDelegate : public ConfirmInfoBarDelegate,
+class AutoLoginInfoBarDelegate : public ContentConfirmInfoBarDelegate,
public SigninManagerBase::Observer {
public:
struct Params {
@@ -37,7 +38,9 @@ class AutoLoginInfoBarDelegate : public ConfirmInfoBarDelegate,
static bool Create(content::WebContents* web_contents, const Params& params);
protected:
- AutoLoginInfoBarDelegate(const Params& params, Profile* profile);
+ AutoLoginInfoBarDelegate(content::WebContents* web_contents,
+ const Params& params,
+ Profile* profile);
virtual ~AutoLoginInfoBarDelegate();
private:

Powered by Google App Engine
This is Rietveld 408576698