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

Unified Diff: chrome/browser/google/google_url_tracker.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/google/google_url_tracker.h
===================================================================
--- chrome/browser/google/google_url_tracker.h (revision 238220)
+++ chrome/browser/google/google_url_tracker.h (working copy)
@@ -21,6 +21,7 @@
#include "url/gurl.h"
class GoogleURLTrackerNavigationHelper;
+class InfoBar;
class PrefService;
class Profile;
@@ -175,13 +176,11 @@
scoped_ptr<GoogleURLTrackerNavigationHelper> nav_helper_;
- // Creates an infobar delegate and adds it to the provided InfoBarService.
- // Returns the delegate pointer on success or NULL on failure. The caller
- // does not own the returned object, the InfoBarService does.
- base::Callback<GoogleURLTrackerInfoBarDelegate*(
- InfoBarService*,
- GoogleURLTracker*,
- const GURL&)> infobar_creator_;
+ // Creates an infobar and adds it to the provided InfoBarService. Returns the
+ // infobar on success or NULL on failure. The caller does not own the
+ // returned object, the InfoBarService does.
+ base::Callback<InfoBar*(InfoBarService*, GoogleURLTracker*, const GURL&)>
+ infobar_creator_;
GURL google_url_;
GURL fetched_google_url_;
« no previous file with comments | « chrome/browser/geolocation/geolocation_infobar_delegate_android.cc ('k') | chrome/browser/google/google_url_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698