There is a class MostVisitedSites (at chrome/browser/android/ntp/most_visited_sites.h) which populates the tile grid on the Android NTP. It gets suggestions from MostLikely or TopSites, mixes in Popular Sites and Whitelists if appropriate, and passes everything to the native Java UI.
This class should be split into the Android-specific part (Java bindings) and the logic. Then the logic should be moved into a new components, called maybe "ntp_tiles" or something like that.
The users of the new component will be:
- (immediately) The Android NTP.
- (soon) components/ntp_snippets.
- (soon) The (local) desktop NTP.
Comment 1 by treib@chromium.org
, Apr 13 2016