Replace navigation entry on HTTPS previews triggered on client redirects

The previous navigation entry should be replaced when this preview is
cancels a navigation started by a client redirect.
See bug and code comments for more detail.

Bug: 916892
Change-Id: Ib6a8679b2a92098d1a5657732a4143bb18f3f8ab
Reviewed-on: https://chromium-review.googlesource.com/c/1396715
Reviewed-by: Tarun Bansal <tbansal@chromium.org>
Commit-Queue: Robert Ogden <robertogden@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620390}
2 files changed