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

Issue 2277533002: Open |current_url| in Chrome when |previous_url| is empty (Closed)

Created:
4 years, 4 months ago by Yusuke Sato
Modified:
4 years, 3 months ago
Reviewers:
xiyuan, Ben Kwa, djacobo_
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Open |current_url| in Chrome when |previous_url| is empty to prevent the disambig window from being shown when it shouldn't be. BUG=640393 TEST=see repro steps in b/31043273 TEST=try Committed: https://crrev.com/772b47ff82c6450985f727a6fa13d3366143a745 Cr-Commit-Position: refs/heads/master@{#419900}

Patch Set 1 #

Patch Set 2 : add unittest #

Total comments: 6

Patch Set 3 : Address Ben's comments #

Total comments: 3

Patch Set 4 : Address Xiyuan's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -12 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_navigation_throttle.h View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_navigation_throttle.cc View 1 2 3 4 chunks +30 lines, -8 lines 0 comments Download
A chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc View 1 2 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
Yusuke Sato
ptal
4 years, 4 months ago (2016-08-23 22:28:51 UTC) #4
djacobo_
lgtm
4 years, 4 months ago (2016-08-23 23:32:42 UTC) #7
Ben Kwa
Do we understand all the scenarios under which the referrer may not be set, and ...
4 years, 4 months ago (2016-08-24 14:24:48 UTC) #8
djacobo_
On 2016/08/24 14:24:48, Ben Kwa wrote: > Do we understand all the scenarios under which ...
4 years, 3 months ago (2016-09-02 02:23:11 UTC) #9
djacobo_
On 2016/09/02 02:23:11, djacobo wrote: > On 2016/08/24 14:24:48, Ben Kwa wrote: > > Do ...
4 years, 3 months ago (2016-09-20 01:53:52 UTC) #10
djacobo_
4 years, 3 months ago (2016-09-20 01:53:59 UTC) #11
Yusuke Sato
Sorry for the delay - I was too busy with other P1s. Replies inlined: > ...
4 years, 3 months ago (2016-09-20 20:16:08 UTC) #13
Yusuke Sato
Added unit tests for ShouldOverrideUrlLoading() as the function is getting more complicated. Please take another ...
4 years, 3 months ago (2016-09-20 20:19:50 UTC) #16
Ben Kwa
LGTM with a couple of nits. https://codereview.chromium.org/2277533002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc File chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc (right): https://codereview.chromium.org/2277533002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc#newcode12 chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc:12: // A navigation ...
4 years, 3 months ago (2016-09-20 21:28:30 UTC) #17
Yusuke Sato
Thanks Ben. +xiyuan, chromeos/ OWNER. https://codereview.chromium.org/2277533002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc File chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc (right): https://codereview.chromium.org/2277533002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc#newcode12 chrome/browser/chromeos/arc/arc_navigation_throttle_unittest.cc:12: // A navigation within ...
4 years, 3 months ago (2016-09-20 22:16:09 UTC) #21
xiyuan
lgtm https://codereview.chromium.org/2277533002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.h File chrome/browser/chromeos/arc/arc_navigation_throttle.h (right): https://codereview.chromium.org/2277533002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.h#newcode77 chrome/browser/chromeos/arc/arc_navigation_throttle.h:77: static bool ShouldOverrideUrlLoading(const GURL& previous_url, nit: Move this ...
4 years, 3 months ago (2016-09-20 22:27:59 UTC) #22
Yusuke Sato
https://codereview.chromium.org/2277533002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2277533002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode265 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:265: // When the navigation is initiated via e.g. JavaScript ...
4 years, 3 months ago (2016-09-20 22:47:56 UTC) #23
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/2277533002/60001
4 years, 3 months ago (2016-09-20 22:48:45 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-20 23:56:45 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 23:58:57 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/772b47ff82c6450985f727a6fa13d3366143a745
Cr-Commit-Position: refs/heads/master@{#419900}

Powered by Google App Engine
This is Rietveld 408576698