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

Issue 698685 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Feature



Sign in to add a comment

Notify ContentSuggestions scheduler

Project Member Reported by gambard@chromium.org, Mar 6 2017

Issue description

ContentSuggestions scheduler should be notified when the following events occurs:
- NTP displayed (OnNTPOpened())
- Cold start (OnBrowserColdStart())
- App foregrounded (OnBrowserForegrounded())
 
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 6 2017

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

commit f869693ef278a6e726f48a6d4b8501328d10bec4
Author: gambard <gambard@chromium.org>
Date: Thu Jul 06 14:01:36 2017

Notify ContentSuggestions of app openings

The ContentSuggestionsService scheduler needs to be notified of the
application lifecycle (cold start, foregrounded...) to schedule the
download of the articles.
This CL adds such notifications.

BUG= 698685 

Change-Id: If65e15858fd05254ffd8fc8dfff514d8ae5b7e09
Reviewed-on: https://chromium-review.googlesource.com/559333
Reviewed-by: Mark Cogan <marq@chromium.org>
Reviewed-by: Jan Krcal <jkrcal@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#484574}
[modify] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/BUILD.gn
[modify] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/DEPS
[modify] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/application_delegate/BUILD.gn
[modify] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/application_delegate/app_state.mm
[modify] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/main_controller.mm
[modify] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/startup/BUILD.gn
[add] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/startup/content_suggestions_scheduler_notifications.h
[add] https://crrev.com/f869693ef278a6e726f48a6d4b8501328d10bec4/ios/chrome/app/startup/content_suggestions_scheduler_notifications.mm

Labels: -Type-Bug Type-Feature
Status: Fixed (was: Assigned)

Sign in to add a comment