forMode

abstract fun forMode(mode: BrowserMode): CookieManager?

Returns the CookieManager for the given mode. Callers always specify the mode explicitly — the tab/activity's frozen mode for WebView-bound work, or the mode carried with a deferred request.