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 2e035a7a67c56ef495a3df8df75f7c3617314739..3d8c689e87f27e75d263166ce031810067e39f16 100644 |
--- a/chrome/browser/google/google_url_tracker_map_entry.h |
+++ b/chrome/browser/google/google_url_tracker_map_entry.h |
@@ -10,18 +10,14 @@ |
class GoogleURLTracker; |
class GoogleURLTrackerInfoBarDelegate; |
+class GoogleURLTrackerNavigationHelper; |
class InfoBarService; |
-namespace content { |
-class NavigationController; |
-} |
- |
class GoogleURLTrackerMapEntry : public content::NotificationObserver { |
public: |
- GoogleURLTrackerMapEntry( |
- GoogleURLTracker* google_url_tracker, |
- InfoBarService* infobar_service, |
- const content::NavigationController* navigation_controller); |
+ GoogleURLTrackerMapEntry(GoogleURLTracker* google_url_tracker, |
+ InfoBarService* infobar_service, |
+ GoogleURLTrackerNavigationHelper* navigation_helper); |
virtual ~GoogleURLTrackerMapEntry(); |
bool has_infobar_delegate() const { return !!infobar_delegate_; } |
@@ -30,8 +26,8 @@ class GoogleURLTrackerMapEntry : public content::NotificationObserver { |
} |
void SetInfoBarDelegate(GoogleURLTrackerInfoBarDelegate* infobar_delegate); |
- const content::NavigationController* navigation_controller() const { |
- return navigation_controller_; |
+ GoogleURLTrackerNavigationHelper* navigation_helper() { |
+ return navigation_helper_; |
} |
void Close(bool redo_search); |
@@ -48,7 +44,7 @@ class GoogleURLTrackerMapEntry : public content::NotificationObserver { |
GoogleURLTracker* const google_url_tracker_; |
const InfoBarService* const infobar_service_; |
GoogleURLTrackerInfoBarDelegate* infobar_delegate_; |
- const content::NavigationController* const navigation_controller_; |
+ GoogleURLTrackerNavigationHelper* navigation_helper_; |
DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerMapEntry); |
}; |