Skip to content
Commit d0de86eb authored by Ryan Sturm's avatar Ryan Sturm Committed by Commit Bot
Browse files

Refactoring parts of the PreviewsBlackList

This CL starts to refactor the PreviewsBlacklist.

The goal is to split Blacklist into it's own component and implement a
PreviewsBlackList as a derived class.

This CL creates core methods and Previews specific methods that can
easily be moved into seperate classes. Further, this cleans the
Blacklist  <-> OptOutStore API to pass a single object that supports
various blacklisting rules. This allows consumers to write their own
OptOutStore (or Blacklist) implementation, while getting all of the
functionality of the Blacklist.

There are TODO's identifying functionality in PreviewsBlackList that
will move to a seperate class (base class) or stay in
PreviewsBlackList (derived class).

Bug: 852593
Change-Id: I684ccb6b1a1b9d0838d34e2db36a8f870aa76fd9
Reviewed-on: https://chromium-review.googlesource.com/1100085


Commit-Queue: Ryan Sturm <ryansturm@chromium.org>
Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568130}
parent 437b870e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment