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

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

Issue 11644059: Change infobar creation to use a public static Create() method on the infobar delegate classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/browser/translate/translate_manager.cc ('k') | chrome/browser/ui/auto_login_info_bar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/auto_login_info_bar_delegate.h
===================================================================
--- chrome/browser/ui/auto_login_info_bar_delegate.h (revision 175396)
+++ chrome/browser/ui/auto_login_info_bar_delegate.h (working copy)
@@ -40,8 +40,8 @@
std::string username;
};
- AutoLoginInfoBarDelegate(InfoBarService* owner, const Params& params);
- virtual ~AutoLoginInfoBarDelegate();
+ // Creates an autologin delegate and adds it to |infobar_service|.
+ static void Create(InfoBarService* infobar_service, const Params& params);
// ConfirmInfoBarDelegate:
virtual void InfoBarDismissed() OVERRIDE;
@@ -67,6 +67,9 @@
const std::string& args() const { return params_.args; }
private:
+ AutoLoginInfoBarDelegate(InfoBarService* owner, const Params& params);
+ virtual ~AutoLoginInfoBarDelegate();
+
void RecordHistogramAction(int action);
const Params params_;
« no previous file with comments | « chrome/browser/translate/translate_manager.cc ('k') | chrome/browser/ui/auto_login_info_bar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698