forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change NTPSnippetsService to implement ContentSuggestionsProvider
The NTPSnippetsService currently delivers snippets to the UI via the Android bridge. Change it to additionally serve as a ContentSuggestionsProvider implementation and deliver ContentSuggestions for the ARTICLES category. These ContentSuggestions are currently only delivered to the ContentSuggestionsService and not served to the UI, yet. Adjust NTPSnippetsServiceTest, SnippetsBridge and SnippetsInternals because of a few renamed functions. Change NTPSnippetsServiceFactory to register the NTPSnippetsService as a provder with the ContentSuggestionsService. BUG=619560 Review-Url: https://codereview.chromium.org/2131943002 Cr-Commit-Position: refs/heads/master@{#405103}
- Loading branch information
pke
authored and
Commit bot
committed
Jul 13, 2016
1 parent
a1d6a0e
commit a6553c9
Showing
10 changed files
with
217 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.