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

Issue 2194523002: [arc-intents] Handle redirects. (Closed)

Created:
4 years, 4 months ago by Ben Kwa
Modified:
4 years, 4 months ago
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

[arc-intents] Handle redirects. - Move intent filtering (via LocalActivityResolver) into ArcNavigationThrottle. Attach an ArcNavigationThrottle to all navigations, don't pre-filter them. This ensures that the intent filtering code sees all the URLs in the redirect chain (not just the first URL). - Modify the ArcNavigationThrottle so that it memoizes the action taken by a user on an intent disambig. This avoids repeatedly popping up the intent disambig on each link in a redirect chain (e.g. www.some-site.com -> www.twitter.com -> twitter.com). BUG=632428 Committed: https://crrev.com/5a9a30409316fd19af685b1a88ae21b3e51e71c4 Cr-Commit-Position: refs/heads/master@{#410155}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Apply review feedback. #

Total comments: 16

Patch Set 3 : Apply review feedback. #

Total comments: 3

Patch Set 4 : Move DCHECK thread checks. #

Patch Set 5 : Sync/rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -47 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 2 chunks +8 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_navigation_throttle.h View 1 2 3 chunks +17 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_navigation_throttle.cc View 1 2 3 8 chunks +62 lines, -20 lines 0 comments Download

Messages

Total messages: 53 (30 generated)
Ben Kwa
4 years, 4 months ago (2016-07-28 18:52:00 UTC) #2
djacobo_
https://codereview.chromium.org/2194523002/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (left): https://codereview.chromium.org/2194523002/diff/1/chrome/browser/chrome_content_browser_client.cc#oldcode2944 chrome/browser/chrome_content_browser_client.cc:2944: scoped_refptr<arc::LocalActivityResolver> local_resolver = If we are not using the ...
4 years, 4 months ago (2016-07-28 20:08:01 UTC) #7
Luis Héctor Chávez
https://codereview.chromium.org/2194523002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.h File chrome/browser/chromeos/arc/arc_navigation_throttle.h (right): https://codereview.chromium.org/2194523002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.h#newcode80 chrome/browser/chromeos/arc/arc_navigation_throttle.h:80: CloseReason previous_user_action_; On 2016/07/28 20:08:01, djacobo wrote: > Put ...
4 years, 4 months ago (2016-07-28 20:12:14 UTC) #9
Ben Kwa
https://codereview.chromium.org/2194523002/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (left): https://codereview.chromium.org/2194523002/diff/1/chrome/browser/chrome_content_browser_client.cc#oldcode2944 chrome/browser/chrome_content_browser_client.cc:2944: scoped_refptr<arc::LocalActivityResolver> local_resolver = On 2016/07/28 20:08:01, djacobo wrote: > ...
4 years, 4 months ago (2016-07-28 21:33:13 UTC) #10
nasko
https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode61 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:61: previous_user_action_(CloseReason::SIZE), Orthogonal to this CL in general, but I ...
4 years, 4 months ago (2016-07-29 16:42:55 UTC) #15
Ben Kwa
https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode61 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:61: previous_user_action_(CloseReason::SIZE), On 2016/07/29 16:42:55, nasko wrote: > Orthogonal to ...
4 years, 4 months ago (2016-07-29 18:29:12 UTC) #16
djacobo_
1 question, PTAL https://codereview.chromium.org/2194523002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2194523002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode68 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:68: return HandleRequest(); question: Do we need ...
4 years, 4 months ago (2016-07-29 20:23:17 UTC) #21
Ben Kwa
https://codereview.chromium.org/2194523002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2194523002/diff/40001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode68 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:68: return HandleRequest(); On 2016/07/29 20:23:17, djacobo wrote: > question: ...
4 years, 4 months ago (2016-07-29 22:21:00 UTC) #24
djacobo_
lgtm lgtm
4 years, 4 months ago (2016-07-29 23:23:05 UTC) #25
nasko
https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode61 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:61: previous_user_action_(CloseReason::SIZE), On 2016/07/29 18:29:12, Ben Kwa wrote: > On ...
4 years, 4 months ago (2016-08-01 23:13:54 UTC) #28
Ben Kwa
https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2194523002/diff/20001/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode61 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:61: previous_user_action_(CloseReason::SIZE), On 2016/08/01 23:13:53, nasko wrote: > On 2016/07/29 ...
4 years, 4 months ago (2016-08-01 23:55:08 UTC) #29
nasko
Code looks good. However, let's resolve the design question first - should we be firing ...
4 years, 4 months ago (2016-08-03 16:36:50 UTC) #30
Ben Kwa
On 2016/08/03 16:36:50, nasko (slow) wrote: > Code looks good. However, let's resolve the design ...
4 years, 4 months ago (2016-08-03 22:34:38 UTC) #31
nasko
LGTM
4 years, 4 months ago (2016-08-04 14:32:25 UTC) #32
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/2194523002/60001
4 years, 4 months ago (2016-08-04 14:36:17 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/231105)
4 years, 4 months ago (2016-08-04 14:43:41 UTC) #36
Ben Kwa
Moving yusukes@ to +R because lhchavez is out.
4 years, 4 months ago (2016-08-04 15:28:21 UTC) #38
Yusuke Sato
lgtm
4 years, 4 months ago (2016-08-04 19:48:12 UTC) #40
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/2194523002/60001
4 years, 4 months ago (2016-08-04 19:49:21 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/204452)
4 years, 4 months ago (2016-08-04 21:12:41 UTC) #43
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/2194523002/80001
4 years, 4 months ago (2016-08-05 20:30:47 UTC) #50
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-05 20:37:07 UTC) #51
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 20:39:13 UTC) #53
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5a9a30409316fd19af685b1a88ae21b3e51e71c4
Cr-Commit-Position: refs/heads/master@{#410155}

Powered by Google App Engine
This is Rietveld 408576698