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

Unified Diff: chrome/browser/google/google_url_tracker_infobar_delegate.h

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 2 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/google/google_url_tracker_infobar_delegate.h
===================================================================
--- chrome/browser/google/google_url_tracker_infobar_delegate.h (revision 226624)
+++ chrome/browser/google/google_url_tracker_infobar_delegate.h (working copy)
@@ -14,12 +14,11 @@
// changed.
class GoogleURLTrackerInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
- // Creates a Google URL tracker infobar delegate and adds it to
- // |infobar_service|. Returns the delegate if it was successfully added.
- static GoogleURLTrackerInfoBarDelegate* Create(
- InfoBarService* infobar_service,
- GoogleURLTracker* google_url_tracker,
- const GURL& search_url);
+ // Creates a Google URL tracker infobar and delegate and adds the infobar to
+ // |infobar_service|. Returns the infobar if it was successfully added.
+ static InfoBar* Create(InfoBarService* infobar_service,
+ GoogleURLTracker* google_url_tracker,
+ const GURL& search_url);
// ConfirmInfoBarDelegate:
virtual bool Accept() OVERRIDE;
@@ -36,8 +35,7 @@
virtual void Close(bool redo_search);
protected:
- GoogleURLTrackerInfoBarDelegate(InfoBarService* infobar_service,
- GoogleURLTracker* google_url_tracker,
+ GoogleURLTrackerInfoBarDelegate(GoogleURLTracker* google_url_tracker,
const GURL& search_url);
virtual ~GoogleURLTrackerInfoBarDelegate();

Powered by Google App Engine
This is Rietveld 408576698