Settings: Implement heuristic for finding site group favicon.
Currently the favicon shown for etld+1 is simply using the favicon of the first origin. This CL implement heuristic for finding a good favicon. The rules are: 1. Find the origin with format "www.etld+1". 2. If there is no origin with format "www.etld+1", find the origin with largest storage, and use the number of cookies as tie breaker. BUG=930626,835712 Change-Id: I374e079568020a7a6df6ec80e65736c29eead9ba Reviewed-on: https://chromium-review.googlesource.com/c/1475561Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Patti <patricialor@chromium.org> Commit-Queue: Maggie Cai <mxcai@chromium.org> Cr-Commit-Position: refs/heads/master@{#634397}
Showing
Please register or sign in to comment