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

Issue 2194793004: Create IOSChromeContentSuggestionsServiceFactory (Closed)

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

Description

Create IOSChromeContentSuggestionsServiceFactory Create the factory so that the new ContentSuggestionsService is available on iOS. It is currently always disabled, but the factory ensures that the service doesn't introduce new non-iOS dependencies. Remove the IOSChromeNTPSnippetsServiceFactory because the NTPSnippetsService is now a plain provider and will not be a KeyedService anymore. It will be created by the new IOSChromeContentSuggestionsServiceFactory in the future. BUG=632690 Owner: me Committed: https://crrev.com/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041 Cr-Commit-Position: refs/heads/master@{#408934}

Patch Set 1 #

Patch Set 2 : Remove unused variable #

Total comments: 8

Patch Set 3 : Fix typo in GYP file #

Patch Set 4 : Eric's comments #

Patch Set 5 : Remove IOSChromeNTPSnippetsServiceFactory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -200 lines) Patch
M ios/chrome/browser/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
A + ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.h View 1 2 3 4 2 chunks +12 lines, -12 lines 0 comments Download
A ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc View 1 1 chunk +43 lines, -0 lines 0 comments Download
D ios/chrome/browser/ntp_snippets/ios_chrome_ntp_snippets_service_factory.h View 1 2 3 4 1 chunk +0 lines, -49 lines 0 comments Download
M ios/chrome/browser/ntp_snippets/ios_chrome_ntp_snippets_service_factory.cc View 1 2 3 4 1 chunk +0 lines, -133 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Philipp Keck
PTAL
4 years, 4 months ago (2016-07-29 12:01:03 UTC) #2
noyau (Ping after 24h)
https://codereview.chromium.org/2194793004/diff/20001/ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm File ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm (right): https://codereview.chromium.org/2194793004/diff/20001/ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm#newcode24 ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm:24: #include "ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.h" You included the header but didn't call ...
4 years, 4 months ago (2016-07-29 12:11:56 UTC) #3
Philipp Keck
https://codereview.chromium.org/2194793004/diff/20001/ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm File ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm (right): https://codereview.chromium.org/2194793004/diff/20001/ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm#newcode24 ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm:24: #include "ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.h" On 2016/07/29 12:11:55, noyau wrote: > You ...
4 years, 4 months ago (2016-07-29 12:20:28 UTC) #4
noyau (Ping after 24h)
https://codereview.chromium.org/2194793004/diff/20001/ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm File ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm (right): https://codereview.chromium.org/2194793004/diff/20001/ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm#newcode24 ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm:24: #include "ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.h" On 2016/07/29 12:20:28, Philipp Keck wrote: > ...
4 years, 4 months ago (2016-07-29 12:35:23 UTC) #5
Philipp Keck
As discussed with Eric, I removed the IOSChromeNTPSnippetsServiceFactory entirely, as the providers will be created ...
4 years, 4 months ago (2016-08-01 08:27:53 UTC) #7
noyau (Ping after 24h)
lgtm
4 years, 4 months ago (2016-08-01 08:38:51 UTC) #8
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/2194793004/80001
4 years, 4 months ago (2016-08-01 08:42:28 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-01 09:41:56 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-01 09:43:30 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041
Cr-Commit-Position: refs/heads/master@{#408934}

Powered by Google App Engine
This is Rietveld 408576698