[Suggestions] Use a callback for the FetchMore action
Modified SuggestionsSection#fetchSuggestions to take a recieving callback as input rather than relying on notifying back the right observer for the result. This makes SuggestionsSection.Observer simpler, with only notification-style methods, opening the possibility to register multiple observers later. Bug: 721407 Change-Id: I0e735be3eaca7bdc428abd2d009d6bbfb230cbc5 Reviewed-on: https://chromium-review.googlesource.com/563410 Commit-Queue: Nicolas Dossou-Gbété <dgn@chromium.org> Reviewed-by:Bernhard Bauer <bauerb@chromium.org> Cr-Commit-Position: refs/heads/master@{#485601}
Showing
This diff is collapsed.
Please register or sign in to comment