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

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

Issue 293503003: Eliminate dependence of GoogleURLTracker et al. on InfoBarService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style nits Created 6 years, 7 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_map_entry.h
diff --git a/chrome/browser/google/google_url_tracker_map_entry.h b/chrome/browser/google/google_url_tracker_map_entry.h
index 5f087fbe95c6001a70f8c304b773060a4a77fbde..a938888ade5416dfa62b1dc95ae5ff0d95f82380 100644
--- a/chrome/browser/google/google_url_tracker_map_entry.h
+++ b/chrome/browser/google/google_url_tracker_map_entry.h
@@ -12,13 +12,16 @@
class GoogleURLTracker;
class GoogleURLTrackerInfoBarDelegate;
-class InfoBarService;
+
+namespace infobars {
+class InfoBarManager;
+}
class GoogleURLTrackerMapEntry : public content::NotificationObserver {
public:
GoogleURLTrackerMapEntry(
GoogleURLTracker* google_url_tracker,
- InfoBarService* infobar_service,
+ infobars::InfoBarManager* infobar_manager,
scoped_ptr<GoogleURLTrackerNavigationHelper> navigation_helper);
virtual ~GoogleURLTrackerMapEntry();
@@ -44,7 +47,7 @@ class GoogleURLTrackerMapEntry : public content::NotificationObserver {
content::NotificationRegistrar registrar_;
GoogleURLTracker* const google_url_tracker_;
- const InfoBarService* const infobar_service_;
+ const infobars::InfoBarManager* const infobar_manager_;
GoogleURLTrackerInfoBarDelegate* infobar_delegate_;
scoped_ptr<GoogleURLTrackerNavigationHelper> navigation_helper_;

Powered by Google App Engine
This is Rietveld 408576698