|
Fix SSLUITest.BadCertFollowedByGoodCert with PlzNavigate.
The notifications from ResourceDispatcherHostImpl to WebContents were using a RenderFrameHost ID to find the WebContents. Switch it to using the WebContentsGetter. The only issue I ran into was that calculating the data for the LoadStateChanged callback correctly meant that it had to be done on teh UI thread (so that we can compare navigation requests with subresource requests). Since RDH has to hop to the UI thread to calculate this, there's no point to hopping back to the IO thread to call its delegate which would then hop back to the UI thread, so I changed the delegate method to be called on the UI thread.
BUG= 504347
Committed: https://crrev.com/73f8926484f8e12b1348e6daecaa198f8336956a
Cr-Commit-Position: refs/heads/master@{#417855}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+295 lines, -319 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/identity/web_auth_flow.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/identity/web_auth_flow.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/prerender/prerender_contents.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/prerender/prerender_contents.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/prerender/prerender_tab_helper.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/prerender/prerender_tab_helper.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_browser_tests.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/loader/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/loader_delegate.h
|
View
|
|
3 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.h
|
View
|
1
2
3
4
|
5 chunks |
+25 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.cc
|
View
|
1
2
3
4
|
5 chunks |
+73 lines, -42 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_unittest.cc
|
View
|
1
|
7 chunks |
+129 lines, -139 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader_delegate_impl.h
|
View
|
|
1 chunk |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader_delegate_impl.cc
|
View
|
|
3 chunks |
+17 lines, -42 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_delegate.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
|
3 chunks |
+23 lines, -24 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_observer.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/web_contents_observer_sanity_checker.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/test/web_contents_observer_sanity_checker.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 28 (21 generated)
|