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 2770153004: Unittests for the Safe Browsing Subresource filter navigation throttle (Closed)

Created:
3 years, 9 months ago by melandory
Modified:
3 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Unittests for the Safe Browsing Subresource filter navigation throttle. The CL moves the SafeBrowsingActivationThrottle to production and removes the feature (kSubresourceFilterSafeBrowsingActivationThrottle, which has guarded it's creation. BUG=671962 Review-Url: https://codereview.chromium.org/2770153004 Cr-Commit-Position: refs/heads/master@{#462823} Committed: https://chromium.googlesource.com/chromium/src/+/8bc2871191cf68aa1989f57f9675b90e9b40dd5b

Patch Set 1 : . #

Patch Set 2 : . #

Total comments: 28

Patch Set 3 : fix tests according to new architecture #

Total comments: 10

Patch Set 4 : comments #

Total comments: 22

Patch Set 5 : . #

Messages

Total messages: 50 (38 generated)
melandory
engedy@, could you please take a look before going to OOO, Thanks!
3 years, 9 months ago (2017-03-24 14:47:05 UTC) #3
melandory
csharrison@, could you please take a look. I don't want to land https://codereview.chromium.org/2645283007/ before this ...
3 years, 9 months ago (2017-03-24 16:43:53 UTC) #6
Charlie Harrison
A few initial comments. I wonder if we could be testing some other state other ...
3 years, 9 months ago (2017-03-24 17:46:51 UTC) #8
engedy
Yes, it would be great if we could either query the driver factory, or inject ...
3 years, 8 months ago (2017-04-04 09:04:44 UTC) #9
melandory
PTAL https://codereview.chromium.org/2770153004/diff/80001/components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle.cc File components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle.cc (right): https://codereview.chromium.org/2770153004/diff/80001/components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle.cc#newcode24 components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle.cc:24: } // namespace On 2017/03/24 17:46:50, Charlie Harrison ...
3 years, 8 months ago (2017-04-05 14:23:44 UTC) #28
Charlie Harrison
Generally looks good % comments. https://codereview.chromium.org/2770153004/diff/80001/components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc File components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc (right): https://codereview.chromium.org/2770153004/diff/80001/components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc#newcode45 components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc:45: enum RedirectChainMatchPattern { On ...
3 years, 8 months ago (2017-04-05 15:33:04 UTC) #29
melandory
https://codereview.chromium.org/2770153004/diff/160001/components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc File components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc (right): https://codereview.chromium.org/2770153004/diff/160001/components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc#newcode195 components/subresource_filter/content/browser/subresource_filter_safe_browsing_activation_throttle_unittest.cc:195: void SimulateStartAndExpectResult( On 2017/04/05 15:33:04, Charlie Harrison wrote: > ...
3 years, 8 months ago (2017-04-06 12:40:56 UTC) #33
Charlie Harrison
lgtm
3 years, 8 months ago (2017-04-06 13:11:50 UTC) #37
engedy
Looks great, LGTM % comments. Thanks! https://codereview.chromium.org/2770153004/diff/180001/chrome/browser/subresource_filter/navigation_throttle_util.cc File chrome/browser/subresource_filter/navigation_throttle_util.cc (right): https://codereview.chromium.org/2770153004/diff/180001/chrome/browser/subresource_filter/navigation_throttle_util.cc#newcode17 chrome/browser/subresource_filter/navigation_throttle_util.cc:17: if (navigation_handle->IsInMainFrame() && ...
3 years, 8 months ago (2017-04-06 13:50:38 UTC) #38
melandory
https://codereview.chromium.org/2770153004/diff/180001/chrome/browser/subresource_filter/navigation_throttle_util.cc File chrome/browser/subresource_filter/navigation_throttle_util.cc (right): https://codereview.chromium.org/2770153004/diff/180001/chrome/browser/subresource_filter/navigation_throttle_util.cc#newcode17 chrome/browser/subresource_filter/navigation_throttle_util.cc:17: if (navigation_handle->IsInMainFrame() && safe_browsing_service && On 2017/04/06 13:50:38, engedy ...
3 years, 8 months ago (2017-04-07 09:09:44 UTC) #44
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/2770153004/200001
3 years, 8 months ago (2017-04-07 09:48:58 UTC) #47
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 09:55:15 UTC) #50
Message was sent while issue was closed.
Committed patchset #5 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/8bc2871191cf68aa1989f57f9675...

Powered by Google App Engine
This is Rietveld 408576698