New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 632690 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Email to this user bounced
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Feature

Blocking:
issue 632320
issue 633139



Sign in to add a comment

Create IOSChromeContentSuggestionsServiceFactory

Project Member Reported by pke@google.com, Jul 29 2016

Issue description

We want the ContentSuggestionsService to be compilable to iOS. The factory ensures that we can use it any time and that we don't accidentally introduce new dependencies that aren't available on iOS.

This also allows the NTPSnippetsService (through the IOSChromeNTPSnippetsServiceFactory) to access dependencies that it has on the ContentSuggestionsService (like the ContentSuggestionsCategoryFactory).
 

Comment 1 by pke@google.com, Jul 29 2016

Blocking: 632320
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 29 2016

Labels: Hotlist-Google

Comment 3 by pke@google.com, Aug 1 2016

Labels: zine-16-08-01

Comment 4 by pke@google.com, Aug 1 2016

Blocking: 633139
Project Member

Comment 5 by bugdroid1@chromium.org, Aug 1 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041

commit ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041
Author: pke <pke@google.com>
Date: Mon Aug 01 09:41:36 2016

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

Review-Url: https://codereview.chromium.org/2194793004
Cr-Commit-Position: refs/heads/master@{#408934}

[modify] https://crrev.com/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041/ios/chrome/browser/BUILD.gn
[modify] https://crrev.com/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041/ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm
[add] https://crrev.com/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
[add] https://crrev.com/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.h
[delete] https://crrev.com/61557fb1951d1753e1a934ff1ffe0bfab1b40148/ios/chrome/browser/ntp_snippets/ios_chrome_ntp_snippets_service_factory.cc
[delete] https://crrev.com/61557fb1951d1753e1a934ff1ffe0bfab1b40148/ios/chrome/browser/ntp_snippets/ios_chrome_ntp_snippets_service_factory.h
[modify] https://crrev.com/ca76f9c6a37b34de6d70b3e4e1ddb9c6f61c3041/ios/chrome/ios_chrome.gyp

Comment 6 by pke@google.com, Aug 1 2016

Status: Fixed (was: Started)

Sign in to add a comment