Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 2232473002: Register all CSuggestionsProviders in IOSChromeContentSuggestionsServiceFactory (Closed)

Created:
4 years, 4 months ago by Philipp Keck
Modified:
4 years, 3 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Register all providers in IOSChromeContentSuggestionsServiceFactory Create the articles provider (NTPSnippetsService) and the BookmarkSuggestionsProvider in the IOSChromeContentSuggestionsServiceFactory and register them with the ContentSuggestionsService. This makes the IOSChromeContentSuggestionsServiceFactory equivalent to the ContentSuggestionsServiceFactory again (apart from the OfflinePageSuggestionsProvider, which is Android-only). BUG=633139 Committed: https://crrev.com/c9f49e317107c0a827f559f4a2da1050dd207358 Cr-Commit-Position: refs/heads/master@{#414415}

Patch Set 1 #

Patch Set 2 : Fix compiler errors #

Patch Set 3 : Fix another compile error #

Total comments: 8

Patch Set 4 : Marc's comments #

Patch Set 5 : Update the factory #

Patch Set 6 : Add check for kArticleSuggestionsFeature #

Patch Set 7 : Fix compiler errors #

Patch Set 8 : Fix another compiler error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -5 lines) Patch
M ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc View 1 2 3 4 5 6 7 4 chunks +137 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Philipp Keck
PTAL In a following CL, I will change both the Android and the iOS factory ...
4 years, 4 months ago (2016-08-10 08:23:27 UTC) #3
Marc Treib
https://codereview.chromium.org/2232473002/diff/40001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc File ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2232473002/diff/40001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc#newcode111 ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc:111: State enabled = State::DISABLED; // Currently always disabled. Hm. ...
4 years, 4 months ago (2016-08-10 08:39:51 UTC) #4
noyau (Ping after 24h)
Are all those classes used in this factory unittested on iOS? Just to be sure, ...
4 years, 4 months ago (2016-08-19 21:16:03 UTC) #5
Marc Treib
https://codereview.chromium.org/2232473002/diff/40001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc File ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2232473002/diff/40001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc#newcode111 ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc:111: State enabled = State::DISABLED; // Currently always disabled. On ...
4 years, 4 months ago (2016-08-22 08:15:00 UTC) #6
noyau (Ping after 24h)
On 2016/08/22 08:15:00, Marc Treib wrote: > https://codereview.chromium.org/2232473002/diff/40001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc > File > ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc > (right): > ...
4 years, 4 months ago (2016-08-22 08:43:59 UTC) #7
noyau (Ping after 24h)
lgtm
4 years, 4 months ago (2016-08-22 08:44:13 UTC) #8
Philipp Keck
https://codereview.chromium.org/2232473002/diff/40001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc File ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2232473002/diff/40001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc#newcode111 ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc:111: State enabled = State::DISABLED; // Currently always disabled. On ...
4 years, 3 months ago (2016-08-25 12:26:49 UTC) #9
Marc Treib
lgtm
4 years, 3 months ago (2016-08-25 12:32:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2232473002/140001
4 years, 3 months ago (2016-08-25 12:33:58 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-08-25 13:21:54 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 13:24:22 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c9f49e317107c0a827f559f4a2da1050dd207358
Cr-Commit-Position: refs/heads/master@{#414415}

Powered by Google App Engine
This is Rietveld 408576698