Chromium Code Reviews
DescriptionEliminate 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
Patch Set 1 #Patch Set 2 : Style nits #
Total comments: 3
Patch Set 3 : Fix ownership problem #
Total comments: 10
Patch Set 4 : Response to review #Messages
Total messages: 14 (0 generated)
|