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

Issue 2697703002: Introduce ActivationStateComputingNavigationThrottle (Closed)

Created:
3 years, 10 months ago by Charlie Harrison
Modified:
3 years, 9 months ago
Reviewers:
clamy, engedy, pkalinnikov
CC:
chromium-reviews, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org, pkalinnikov
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce ActivationStateComputingNavigationThrottle This throttle is designed to be after the SubframeNavigationFilteringThrottle, and will calculate activation state for the navigating frame on WillProcessResponse. BUG=637415 Review-Url: https://codereview.chromium.org/2697703002 Cr-Commit-Position: refs/heads/master@{#453391} Committed: https://chromium.googlesource.com/chromium/src/+/b30a80aa9cbf4a1881912da54484f948afdadf0c

Patch Set 1 #

Patch Set 2 : Introduce ActivationStateComputingNavigationThrottle #

Patch Set 3 : unit test refactor #

Total comments: 10

Patch Set 4 : rebase + respond to comments #

Total comments: 48

Patch Set 5 : respond to comments #

Patch Set 6 : rebase #

Patch Set 7 : remove unit tests #

Patch Set 8 : remove unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -0 lines) Patch
M components/subresource_filter/content/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h View 1 2 3 4 1 chunk +98 lines, -0 lines 0 comments Download
A components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc View 1 2 3 4 5 6 7 1 chunk +123 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (36 generated)
Charlie Harrison
engedy: could you PTAL at this throttle? This patch also refactors unit tests expecting ADSF ...
3 years, 10 months ago (2017-02-15 17:51:42 UTC) #14
Charlie Harrison
Note: patch errors expected, it's due to the long chain of dependent CLs. Tests are ...
3 years, 10 months ago (2017-02-15 18:13:40 UTC) #16
pkalinnikov
Some initial comments. Balazs, please make a round as well. https://codereview.chromium.org/2697703002/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc (right): https://codereview.chromium.org/2697703002/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc#newcode21 ...
3 years, 10 months ago (2017-02-15 20:21:42 UTC) #17
Charlie Harrison
Thank you! https://codereview.chromium.org/2697703002/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc (right): https://codereview.chromium.org/2697703002/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc#newcode21 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc:21: return base::WrapUnique(new ActivationStateComputingNavigationThrottle( On 2017/02/15 20:21:42, pkalinnikov ...
3 years, 10 months ago (2017-02-16 00:45:41 UTC) #20
engedy
Looks great! First batch of comments, mostly nits and phrasing suggestions. https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h (right): ...
3 years, 10 months ago (2017-02-16 10:47:40 UTC) #27
pkalinnikov
https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h (right): https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h#newcode56 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h:56: const ActivationState& page_activation_state); On 2017/02/16 10:47:39, engedy wrote: > ...
3 years, 10 months ago (2017-02-16 13:29:05 UTC) #28
engedy
Thanks a lot! LGTM % comments and sign-off from PlzNavigate folks on how we are ...
3 years, 10 months ago (2017-02-16 14:14:30 UTC) #29
Charlie Harrison
+clamy, there is one question for you regarding accessing a NavigationHandle's RFH at WillProcessResponse time. ...
3 years, 10 months ago (2017-02-16 16:59:45 UTC) #33
clamy
https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc (right): https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc#newcode85 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc:85: ->GetRenderFrameHost() On 2017/02/16 16:59:44, Charlie Harrison wrote: > On ...
3 years, 10 months ago (2017-02-21 13:05:11 UTC) #40
engedy
https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc (right): https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc#newcode85 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc:85: ->GetRenderFrameHost() On 2017/02/21 13:05:11, clamy wrote: > On 2017/02/16 ...
3 years, 10 months ago (2017-02-21 13:48:53 UTC) #41
Charlie Harrison
On 2017/02/21 13:48:53, engedy (slow) wrote: > https://codereview.chromium.org/2697703002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc > File > components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc > (right): > ...
3 years, 9 months ago (2017-02-27 22:14:49 UTC) #42
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/2697703002/130001
3 years, 9 months ago (2017-02-27 22:20:21 UTC) #45
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 23:36:40 UTC) #49
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://chromium.googlesource.com/chromium/src/+/b30a80aa9cbf4a1881912da54484...

Powered by Google App Engine
This is Rietveld 408576698