Version: ToT
Currently on startup we notify UI about new suggestions on every |OnDownloadCreated| and when the offline page model is loaded. Marc suggested that we may end up in an incomplete state, e.g. if the NTP is created after a few |OnDownloadCreated| notifications, but before the offline page model was loaded. We cannot wait for Download Manager to load (issue 665727), but we can for offline pages model. The assumption is that after setting section status to AVAILABLE_LOADING NTP will wait for the first OnNewSuggestions call.
My main concert - what if it takes long time for offline page model to load? Also I have never saw the spinner on the NTP, so I would like to test this.
Comment 1 by vitaliii@chromium.org
, Nov 16 2016