[NTP] Add a feature param to disable auto opt out

Desktop / Chromium - Vitalii Iarko [chromium.org] - 9 August 2017 10:17 EDT

This CL adds a feature param, which allows to disable auto opt out. The data is collected as normal nevertheless.

This CL does *not* disable auto opt out itself.

Bug: 752862 Change-Id: I3b93061d0ee528cc654e0ab43efa3e379bc85172 Reviewed-on: https://chromium-review.googlesource.com/605687

5a52527 [NTP] Add a feature param to disable auto opt out.
.../ntp/content_suggestions_notification_helper.cc | 29 ++++++++++++++++------
.../ntp/content_suggestions_notification_helper.h | 6 ++---
.../ntp/content_suggestions_notifier_service.cc | 2 +-
3 files changed, 26 insertions(+), 11 deletions(-)

Upstream: git.chromium.org


  • Share