[NTP::Push] Support Authenticated subscription requests

Desktop / Chromium - Mohamed Amir Yosef [chromium.org] - 17 July 2017 05:39 EDT

Bug: 735465 Change-Id: I4e1aa8d74be22dd96479f1d5c53e11c89358cfa0 Reviewed-on: https://chromium-review.googlesource.com/562757 Commit-Queue: Mohamed Amir Yosef

1ef3492 [NTP::Push] Support Authenticated subscription requests.
.../content_suggestions_service_factory.cc | 22 +-
components/ntp_snippets/BUILD.gn | 1 +
components/ntp_snippets/DEPS | 1 +
.../breaking_news/breaking_news_gcm_app_handler.cc | 33 ++-
.../breaking_news/breaking_news_gcm_app_handler.h | 2 +-
.../breaking_news/subscription_json_request.cc | 41 +--
.../breaking_news/subscription_json_request.h | 17 +-
.../subscription_json_request_unittest.cc | 10 +-
.../breaking_news/subscription_manager.cc | 224 +++++++++++++----
.../breaking_news/subscription_manager.h | 52 +++-
.../breaking_news/subscription_manager_unittest.cc | 275 +++++++++++++++++----
components/ntp_snippets/ntp_snippets_constants.cc | 3 +
components/ntp_snippets/ntp_snippets_constants.h | 3 +
components/ntp_snippets/pref_names.cc | 3 +
components/ntp_snippets/pref_names.h | 3 +
.../remote/remote_suggestions_fetcher_impl.cc | 3 +-
.../remote_suggestions_fetcher_impl_unittest.cc | 9 +-
.../remote_suggestions_scheduler_impl_unittest.cc | 2 +-
.../remote_suggestions_status_service_unittest.cc | 11 +-
components/ntp_snippets/remote/test_utils.cc | 30 ++-
components/ntp_snippets/remote/test_utils.h | 27 +-
21 files changed, 591 insertions(+), 181 deletions(-)

Upstream: git.chromium.org


  • Share