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

Issue 2245633002: ContentSuggestionsService providers registration refactoring. (Closed)

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

Description

ContentSuggestionsService providers registration refactoring. BUG=633139 Committed: https://crrev.com/496451c110e32151e4ce05dc4e2e0ca83c69a3df Cr-Commit-Position: refs/heads/master@{#414481}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Marc's comments. #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : dgn@ comments. #

Total comments: 2

Patch Set 5 : Marc's comment. #

Patch Set 6 : Marked Android specific code. #

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

Messages

Total messages: 45 (19 generated)
vitaliii
4 years, 4 months ago (2016-08-12 12:11:17 UTC) #2
Marc Treib
+pke FYI, since this will conflict with https://codereview.chromium.org/2245583002/ One of you will have to rebase ...
4 years, 4 months ago (2016-08-12 12:15:52 UTC) #4
Marc Treib
Thanks! Mostly looks good, just some small comments. https://codereview.chromium.org/2245633002/diff/1/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2245633002/diff/1/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode80 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:80: void ...
4 years, 4 months ago (2016-08-12 12:18:45 UTC) #5
Marc Treib
Ah, also: You can either add bug 633139 to the description, since that seems fitting, ...
4 years, 4 months ago (2016-08-12 12:22:52 UTC) #7
vitaliii
https://codereview.chromium.org/2245633002/diff/1/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2245633002/diff/1/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode80 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:80: void RegisterOfflinePageSuggestionsProvider(ContentSuggestionsService* service, On 2016/08/12 12:18:45, Marc Treib wrote: ...
4 years, 4 months ago (2016-08-12 12:33:29 UTC) #9
Marc Treib
LGTM, thanks! (but please coordinate with Philipp about landing)
4 years, 4 months ago (2016-08-12 12:35:16 UTC) #10
tschumann
lgtm
4 years, 4 months ago (2016-08-12 12:38:47 UTC) #11
vitaliii
4 years, 4 months ago (2016-08-17 12:22:19 UTC) #12
Marc Treib
Still LGTM after the rebase
4 years, 4 months ago (2016-08-17 12:28:41 UTC) #13
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/2245633002/40001
4 years, 4 months ago (2016-08-17 12:34:59 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/184872) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 4 months ago (2016-08-17 12:45:05 UTC) #18
dgn
drive by nit https://codereview.chromium.org/2245633002/diff/40001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2245633002/diff/40001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode121 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:121: SigninManagerFactory::GetForProfile(profile); We need to specifically declare ...
4 years, 4 months ago (2016-08-17 14:07:29 UTC) #20
tschumann
https://codereview.chromium.org/2245633002/diff/40001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2245633002/diff/40001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode121 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:121: SigninManagerFactory::GetForProfile(profile); On 2016/08/17 14:07:29, dgn wrote: > We need ...
4 years, 4 months ago (2016-08-18 17:41:29 UTC) #21
dgn
https://codereview.chromium.org/2245633002/diff/40001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2245633002/diff/40001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode121 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:121: SigninManagerFactory::GetForProfile(profile); On 2016/08/18 17:41:29, tschumann wrote: > On 2016/08/17 ...
4 years, 4 months ago (2016-08-19 09:25:14 UTC) #22
Philipp Keck
Btw, there's also the IOSChromeContentSuggestionsServiceFactory: https://codereview.chromium.org/2232473002/
4 years, 4 months ago (2016-08-19 09:30:16 UTC) #23
vitaliii
Hi Marc, would you mind to have a look one more time? https://codereview.chromium.org/2245633002/diff/40001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc ...
4 years, 3 months ago (2016-08-25 13:44:18 UTC) #26
Marc Treib
https://codereview.chromium.org/2245633002/diff/80001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2245633002/diff/80001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode95 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:95: if (recent_tabs_enabled || downloads_enabled) { Hm, so this method ...
4 years, 3 months ago (2016-08-25 13:51:54 UTC) #27
vitaliii
Hi Marc, please have a look. https://codereview.chromium.org/2245633002/diff/80001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2245633002/diff/80001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode95 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:95: if (recent_tabs_enabled || ...
4 years, 3 months ago (2016-08-25 14:24:24 UTC) #28
Marc Treib
LGTM, thanks!
4 years, 3 months ago (2016-08-25 14:26:15 UTC) #29
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/2245633002/100001
4 years, 3 months ago (2016-08-25 14:27:05 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/189599) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 3 months ago (2016-08-25 14:43:34 UTC) #34
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/2245633002/100001
4 years, 3 months ago (2016-08-25 17:01:18 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/189933) chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 3 months ago (2016-08-25 17:14:38 UTC) #38
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/2245633002/120001
4 years, 3 months ago (2016-08-25 17:26:26 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 3 months ago (2016-08-25 18:23:00 UTC) #43
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 18:25:39 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/496451c110e32151e4ce05dc4e2e0ca83c69a3df
Cr-Commit-Position: refs/heads/master@{#414481}

Powered by Google App Engine
This is Rietveld 408576698