Chromium Code Reviews
DescriptionConvert tests to use the non-deprecated WebContentsObserver navigation methods.
Some unit tests use a harness that is not very realistic, so it doesn't send the new callbacks when PlzNavigate isn't enabled. In those cases I've added both methods and I'm using each of them depending on the mode. This makes it trivial to delete the old code path when switching PlzNavigate on and deleting the old methods, instead of having to update the tests then.
BUG=682002
Review-Url: https://codereview.chromium.org/2640473003
Cr-Commit-Position: refs/heads/master@{#445115}
Committed: https://chromium.googlesource.com/chromium/src/+/f174850ffb24a21a76cd786551203c26a47b97d4
Patch Set 1 #Patch Set 2 : split off SearchTabHelper test #
Total comments: 8
Patch Set 3 : review comments #
Total comments: 2
Messages
Total messages: 23 (15 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||