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

Issue 2436923002: Capture http to https navigations w/ intent picker (Closed)

Created:
4 years, 2 months ago by djacobo_
Modified:
4 years, 2 months ago
Reviewers:
Yusuke Sato
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Capture http to https navigations w/ intent picker For navigations from http to https we cannot rely on the Referrer's url since it is cleaned due to the sanitization proccess. For this case we will make use of GetLastCommittedURL(), the main purpose of this information is to decide whether or not to register ArcNavigationThrottle as a candidate to handle a given navigation. BUG=654941 TEST=look at the bug description for repro. Committed: https://crrev.com/21236422b54f032ac6a7dcd42d4c8768129f82ae Cr-Commit-Position: refs/heads/master@{#426610}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Typo fix #

Patch Set 3 : Adding up to the code comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M chrome/browser/chromeos/arc/arc_navigation_throttle.cc View 1 2 1 chunk +15 lines, -1 line 0 comments Download

Messages

Total messages: 26 (17 generated)
djacobo_
PTAL
4 years, 2 months ago (2016-10-20 08:12:59 UTC) #7
Yusuke Sato
https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode129 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:129: // committed URL. We don't use GetVisibleURL() since it ...
4 years, 2 months ago (2016-10-20 15:20:53 UTC) #8
djacobo_
https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode129 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:129: // committed URL. We don't use GetVisibleURL() since it ...
4 years, 2 months ago (2016-10-20 18:38:14 UTC) #11
Yusuke Sato
lgtm with a small request. https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode132 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:132: referrer_url.is_empty() ? last_committed_url : ...
4 years, 2 months ago (2016-10-20 19:32:05 UTC) #12
djacobo_
https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2436923002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode132 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:132: referrer_url.is_empty() ? last_committed_url : referrer_url; On 2016/10/20 19:32:05, Yusuke ...
4 years, 2 months ago (2016-10-20 20:07:31 UTC) #17
Yusuke Sato
lgtm, thanks!
4 years, 2 months ago (2016-10-20 20:10:26 UTC) #18
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/2436923002/40001
4 years, 2 months ago (2016-10-20 21:17:36 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 21:49:38 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:23:15 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/21236422b54f032ac6a7dcd42d4c8768129f82ae
Cr-Commit-Position: refs/heads/master@{#426610}

Powered by Google App Engine
This is Rietveld 408576698