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

Package mozilla.components.browser.icons.preparer

Types

Name Summary
DiskIconPreparer class DiskIconPreparer : IconPreprarer
IconPreprarer implementation implementation that will add known resource URLs (from a disk cache) to the request if the request doesn’t contain a list of resources yet.
IconPreprarer interface IconPreprarer
An IconPreparer implementation receives an IconRequest before it is getting loaded. The preparer has the option to rewrite the IconRequest and return a new instance.
MemoryIconPreparer class MemoryIconPreparer : IconPreprarer
An IconPreprarer implementation that will add known resource URLs (from an in-memory cache) to the request if the request doesn’t contain a list of resources yet.
TippyTopIconPreparer class TippyTopIconPreparer : IconPreprarer
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.