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

Issue 2657323003: Convert HistoryTabHelper to use the new navigation callbacks. (Closed)

Created:
3 years, 10 months ago by jam
Modified:
3 years, 10 months ago
Reviewers:
nasko
CC:
chromium-reviews, nasko+codewatch_chromium.org, darin-cc_chromium.org, jam, browser-components-watch_chromium.org, creis+watch_chromium.org, clamy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert HistoryTabHelper to use the new navigation callbacks. Also fix redirect chain in NavigationHandle to include navigations starting with client side redirects. This matches the old API, which is necessary to make the tests pass after this conversion. BUG=682002 Review-Url: https://codereview.chromium.org/2657323003 Cr-Commit-Position: refs/heads/master@{#448454} Committed: https://chromium.googlesource.com/chromium/src/+/b5d1a4a7757e1a2fdbf5bf1633436d0f363fc4cb

Patch Set 1 #

Patch Set 2 : fix by updating redirect chain and referrer to correct value on commit #

Patch Set 3 : better fix to send this data from the renderer initially #

Total comments: 2

Patch Set 4 : merge #

Patch Set 5 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -76 lines) Patch
M chrome/browser/history/history_tab_helper.h View 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/history/history_tab_helper.cc View 1 4 chunks +23 lines, -23 lines 0 comments Download
M content/browser/frame_host/interstitial_page_navigator_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_navigator_impl.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 3 chunks +7 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.h View 1 2 3 5 chunks +11 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 3 4 8 chunks +37 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 3 chunks +8 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M content/common/navigation_params.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/navigation_handle.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/browser/navigation_handle.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 7 chunks +11 lines, -11 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 2 3 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 51 (44 generated)
jam
https://codereview.chromium.org/2657323003/diff/140001/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/2657323003/diff/140001/content/browser/frame_host/navigation_handle_impl.cc#newcode485 content/browser/frame_host/navigation_handle_impl.cc:485: if (transition_ & ui::PAGE_TRANSITION_CLIENT_REDIRECT) { this mirrors the logic ...
3 years, 10 months ago (2017-01-31 20:24:23 UTC) #32
jam
->nasko
3 years, 10 months ago (2017-02-06 15:53:42 UTC) #37
nasko
LGTM https://codereview.chromium.org/2657323003/diff/140001/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/2657323003/diff/140001/content/browser/frame_host/navigation_handle_impl.cc#newcode486 content/browser/frame_host/navigation_handle_impl.cc:486: // If the page contained a client redirect ...
3 years, 10 months ago (2017-02-06 19:07:53 UTC) #38
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/2657323003/180001
3 years, 10 months ago (2017-02-06 20:37:01 UTC) #43
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/226797)
3 years, 10 months ago (2017-02-06 22:45:07 UTC) #46
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/2657323003/180001
3 years, 10 months ago (2017-02-06 22:56:02 UTC) #48
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 00:08:28 UTC) #51
Message was sent while issue was closed.
Committed patchset #5 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/b5d1a4a7757e1a2fdbf5bf163343...

Powered by Google App Engine
This is Rietveld 408576698