|
Eliminate dependence of GoogleURLTracker et al. on InfoBarService
This CL changes the dependence of GoogleURLTracker(InfoBarDelegate, MapEntry)
on InfoBarService to instead be a dependence on infobars::InfoBarManager. The
only reason that InfoBarManager wasn't sufficient was that
GoogleURLTrackerInfoBarDelegate obtained the WebContents from the
InfoBarService. This flow is replaced by introducing an OpenURL() API on
GoogleURLTrackerNavigationHelper (GoogleURLTrackerNavigationHelperImpl
implements this API by calling through to its WebContents instance, which is
the same instance associated with the InfoBarService).
BUG= 373231, 373233
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273821
Total comments: 3
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+186 lines, -115 lines) |
Patch |
 |
M |
chrome/browser/google/google_url_tracker.h
|
View
|
1
2
|
3 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker.cc
|
View
|
1
2
|
7 chunks |
+19 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_infobar_delegate.h
|
View
|
1
2
3
|
3 chunks |
+31 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_infobar_delegate.cc
|
View
|
1
2
|
4 chunks |
+16 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_map_entry.h
|
View
|
1
2
3
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_map_entry.cc
|
View
|
1
2
3
|
3 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_navigation_helper.h
|
View
|
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_navigation_helper_impl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_navigation_helper_impl.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_url_tracker_unittest.cc
|
View
|
1
2
|
14 chunks |
+56 lines, -38 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|