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

Issue 1645953002: Conditional import of adblocker. (Closed)

Created:
4 years, 10 months ago by mattcary
Modified:
4 years, 10 months ago
Reviewers:
Benoit L, blundell
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Practical fixes for ad filtering. Only import adblocker if we actually define any rules. If we define rules, and fail to import adblockerparser, give detailed installation instructions. Fix typo that prevented the filtering from working in the model, and have the filtering actually use the new adblocker matcher rather than the old heuristic. Committed: https://crrev.com/8497c4725e9a01b5c05e8f10af5e523fa77d1580 Cr-Commit-Position: refs/heads/master@{#372079}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix node->node_info typo for SetRequestContext for ads. #

Patch Set 3 : Use new filters for ad filtering #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -93 lines) Patch
M tools/android/loading/content_classification_lens.py View 2 chunks +15 lines, -2 lines 0 comments Download
M tools/android/loading/content_classification_lens_unittest.py View 1 chunk +7 lines, -0 lines 0 comments Download
M tools/android/loading/loading_model.py View 1 2 3 chunks +5 lines, -79 lines 0 comments Download
M tools/android/loading/loading_model_unittest.py View 1 2 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
mattcary
Oops, I don't think I successfully mailed this out. Colin & Benoit--- Here is the ...
4 years, 10 months ago (2016-01-28 11:44:15 UTC) #3
Benoit L
lgtm, thank you.
4 years, 10 months ago (2016-01-28 11:53:37 UTC) #4
blundell
lgtm https://codereview.chromium.org/1645953002/diff/1/tools/android/loading/content_classification_lens.py File tools/android/loading/content_classification_lens.py (right): https://codereview.chromium.org/1645953002/diff/1/tools/android/loading/content_classification_lens.py#newcode96 tools/android/loading/content_classification_lens.py:96: if self._rules: Maybe a comment above this like ...
4 years, 10 months ago (2016-01-28 11:55:36 UTC) #5
mattcary
Expanded scope to fix misc ad bug and replace my old ad-hoc filtering.
4 years, 10 months ago (2016-01-28 12:00:10 UTC) #6
blundell
On 2016/01/28 12:00:10, mattcary wrote: > Expanded scope to fix misc ad bug and replace ...
4 years, 10 months ago (2016-01-28 12:04:26 UTC) #7
chromium-reviews
Both the node->node_info and FilterAds change is necessary to get analyze to actually use the ...
4 years, 10 months ago (2016-01-28 12:06:13 UTC) #8
Benoit L
On 2016/01/28 12:06:13, chromium-reviews wrote: > Both the node->node_info and FilterAds change is necessary to ...
4 years, 10 months ago (2016-01-28 12:22:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645953002/40001
4 years, 10 months ago (2016-01-28 12:24:06 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-01-28 12:42:32 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 12:43:29 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8497c4725e9a01b5c05e8f10af5e523fa77d1580
Cr-Commit-Position: refs/heads/master@{#372079}

Powered by Google App Engine
This is Rietveld 408576698