Currently a MostVisitedSites object is instantiated each time the new tab page is opened. It should become a long-lived KeyedService. Tasks include:
- Support addition/removal of observers, instead of setting a single one.
- Configure the number of tiles in a different way, one of:
- - Pick a sufficiently high, constant value (12?).
- - Accept num_tiles in the constructor.
- - Allow each observer to pick make a request, and use the max.
- Change it to a KeyedService subclass, with a factory in chrome/.
Comment 1 by sfiera@chromium.org
, Jun 13 2016