DescriptionSimplify FaviconDriverImpl by removing extra FaviconHandler member.
This CL removes the large_icon_handler_ instance from the FaviconDriverImpl without changing the overall functionality.
This instance used to provide large icon handling that was identical to the already extant, but not always enabled, touch_icon_handler_ instance. If those two instances were enabled at the same time, they would step on each other's toes trying to update the history backend with multiple updates for a given touch icon.
If the large favicon handler was expanded to also be responsible for fetching large representation of FAVICO images, it would also step on the toes of the (always enabled) favicon handler.
The large icon handler does not need to exist, when large icons are needed, the already existing touch icon handler can be enabled and the already existing favicon handler can be instructed to download large images.
Design Doc:
https://docs.google.com/document/d/1rv4x3goTWFJzQu5a_h94xfNhSUG3sU98lfxa1Prys1w/edit
BUG=467712
Patch Set 1 #
Total comments: 3
Messages
Total messages: 11 (3 generated)
|