Page MenuHomePhabricator

Move cookie block methods into a new BlockCookieService
Open, Needs TriagePublic

Description

The methods moved into the BlockManager in T225141 would be better modularized in their own BlockCookieManager service.

Event Timeline

Specific methods that deal with cookies:

private function getCookieBlock()
private function getBlockFromCookieValue()
private function shouldApplyCookieBlock()
public function trackBlockWithCookie()
public function setBlockCookie()
private function shouldTrackBlockWithCookie()
public static function clearBlockCookie()
public function getIdFromCookieValue()
public function getCookieValue()