android-components / mozilla.components.browser.icons.preparer / TippyTopIconPreparer

TippyTopIconPreparer

class TippyTopIconPreparer : IconPreprarer (source)

IconPreprarer implementation that looks up the host in our “tippy top” list. If it can find a match then it inserts the icon URL into the request.

The “tippy top” list is a list of “good” icons for top pages maintained by Mozilla: https://github.com/mozilla/tippy-top-sites

Constructors

Name Summary
<init> TippyTopIconPreparer(assetManager: <ERROR CLASS>)
IconPreprarer implementation that looks up the host in our “tippy top” list. If it can find a match then it inserts the icon URL into the request.

Functions

Name Summary
prepare fun prepare(context: <ERROR CLASS>, request: IconRequest): IconRequest