Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 2364943002: Create NavigationHandles for interstitials if needed (Closed)

Created:
4 years, 3 months ago by clamy
Modified:
4 years, 2 months ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, Randy Smith (Not in Mondays), darin-cc_chromium.org, loading-reviews_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create NavigationHandles for interstitials if needed On Android, navigations for interstitials go through the network stack. Not having a NavigationHandle for them prevents us from enforcing that every navigation has a NavigationHandle. This CL fixes and adds this requirement. BUG=621856 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/cbf524d4ff19eb202e4ff67810f1909e05b52849 Cr-Commit-Position: refs/heads/master@{#421184}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : Rebase + addressed nits #

Patch Set 5 : Fixed Android issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -37 lines) Patch
M content/browser/frame_host/interstitial_page_navigator_impl.h View 1 2 3 chunks +17 lines, -1 line 0 comments Download
M content/browser/frame_host/interstitial_page_navigator_impl.cc View 1 2 2 chunks +31 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.h View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/loader/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_resource_throttle.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_resource_throttle.cc View 1 2 3 7 chunks +57 lines, -33 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 2 11 chunks +18 lines, -0 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl_unittest.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (18 generated)
clamy
@creis, nasko: PTAL This is a spin off from https://codereview.chromium.org/2321543002/ to get a NavigationHandle even ...
4 years, 3 months ago (2016-09-23 15:47:39 UTC) #8
nasko
I really like this! However, I do have one concern - as it is, we ...
4 years, 3 months ago (2016-09-23 17:41:35 UTC) #9
nasko
https://codereview.chromium.org/2364943002/diff/1/content/browser/loader/navigation_resource_throttle.cc File content/browser/loader/navigation_resource_throttle.cc (right): https://codereview.chromium.org/2364943002/diff/1/content/browser/loader/navigation_resource_throttle.cc#newcode73 content/browser/loader/navigation_resource_throttle.cc:73: if (!render_frame_host) { In what case are we going ...
4 years, 3 months ago (2016-09-23 17:43:15 UTC) #10
Charlie Reis
Thanks! LGTM, if my reasoning below is correct. On 2016/09/23 17:41:35, nasko (slow) wrote: > ...
4 years, 3 months ago (2016-09-23 18:51:11 UTC) #11
clamy
On 2016/09/23 18:51:11, Charlie Reis (slow) wrote: > Thanks! LGTM, if my reasoning below is ...
4 years, 2 months ago (2016-09-26 11:37:13 UTC) #14
clamy
Thanks! https://codereview.chromium.org/2364943002/diff/1/content/browser/frame_host/interstitial_page_navigator_impl.cc File content/browser/frame_host/interstitial_page_navigator_impl.cc (right): https://codereview.chromium.org/2364943002/diff/1/content/browser/frame_host/interstitial_page_navigator_impl.cc#newcode42 content/browser/frame_host/interstitial_page_navigator_impl.cc:42: -1); // pending_nav_entry_id On 2016/09/23 17:41:35, nasko (slow) ...
4 years, 2 months ago (2016-09-26 11:37:27 UTC) #15
nasko
LGTM with a couple of minor formatting nits. https://codereview.chromium.org/2364943002/diff/40001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://codereview.chromium.org/2364943002/diff/40001/content/browser/frame_host/navigator.h#newcode183 content/browser/frame_host/navigator.h:183: // ...
4 years, 2 months ago (2016-09-26 15:51:50 UTC) #18
clamy
Thanks! https://codereview.chromium.org/2364943002/diff/40001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://codereview.chromium.org/2364943002/diff/40001/content/browser/frame_host/navigator.h#newcode183 content/browser/frame_host/navigator.h:183: // Returns the NavigationHandle associated to a navigation ...
4 years, 2 months ago (2016-09-26 16:27:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2364943002/60001
4 years, 2 months ago (2016-09-26 16:28:13 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/148111)
4 years, 2 months ago (2016-09-26 21:22:21 UTC) #24
nasko
On 2016/09/26 21:22:21, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 2 months ago (2016-09-26 21:29:17 UTC) #25
clamy
I've investigated the Android issue and it was due to the NavigationHandle calling directly the ...
4 years, 2 months ago (2016-09-27 11:56:28 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2364943002/80001
4 years, 2 months ago (2016-09-27 11:56:46 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-27 12:48:59 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 12:50:25 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cbf524d4ff19eb202e4ff67810f1909e05b52849
Cr-Commit-Position: refs/heads/master@{#421184}

Powered by Google App Engine
This is Rietveld 408576698