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

Issue 2925053003: [NTP::Push] Adding BreakingNewsSuggestionsProvider (Closed)

Created:
3 years, 6 months ago by mamir
Modified:
3 years, 6 months ago
Reviewers:
jkrcal, sfiera, Steven Holte
CC:
Peter Beverloo, chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP::Push] Adding BreakingNewsSuggestionsProvider BUG=730537 Review-Url: https://codereview.chromium.org/2925053003 Cr-Commit-Position: refs/heads/master@{#478534} Committed: https://chromium.googlesource.com/chromium/src/+/25a32cd52f2c74f46f0bebe05aa41e6347da7c26

Patch Set 1 #

Total comments: 16

Patch Set 2 : sfiera@ comments. #

Total comments: 18

Patch Set 3 : sfiera@ comments. #

Total comments: 25

Patch Set 4 : jkrcal@ comments. #

Patch Set 5 : Fixing the build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -4 lines) Patch
M chrome/browser/ntp_snippets/content_suggestions_service_factory.cc View 1 2 3 4 chunks +43 lines, -0 lines 0 comments Download
M components/ntp_snippets/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
A components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.cc View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
M components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.h View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
M components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M components/ntp_snippets/breaking_news/subscription_manager.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M components/ntp_snippets/breaking_news/subscription_manager.cc View 1 2 3 3 chunks +56 lines, -0 lines 0 comments Download
M components/ntp_snippets/category.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M components/ntp_snippets/content_suggestions_metrics.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_constants.h View 1 1 chunk +12 lines, -0 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_constants.cc View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (17 generated)
mamir
3 years, 6 months ago (2017-06-07 11:03:31 UTC) #2
sfiera
High-level question: where will breaking news articles be persisted? We don't want them to disappear ...
3 years, 6 months ago (2017-06-07 13:58:15 UTC) #3
mamir
Thank you a lot for your constructive feedback. PTAL https://codereview.chromium.org/2925053003/diff/1/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2925053003/diff/1/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode308 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:308: ...
3 years, 6 months ago (2017-06-08 09:58:28 UTC) #4
sfiera
https://codereview.chromium.org/2925053003/diff/1/components/ntp_snippets/category.h File components/ntp_snippets/category.h (right): https://codereview.chromium.org/2925053003/diff/1/components/ntp_snippets/category.h#newcode55 components/ntp_snippets/category.h:55: BREAKING_NEWS, On 2017/06/08 09:58:28, mamir wrote: > On 2017/06/07 ...
3 years, 6 months ago (2017-06-08 13:37:16 UTC) #6
sfiera
https://codereview.chromium.org/2925053003/diff/1/components/ntp_snippets/category.h File components/ntp_snippets/category.h (right): https://codereview.chromium.org/2925053003/diff/1/components/ntp_snippets/category.h#newcode55 components/ntp_snippets/category.h:55: BREAKING_NEWS, On 2017/06/08 13:37:15, sfiera wrote: > On 2017/06/08 ...
3 years, 6 months ago (2017-06-08 13:38:10 UTC) #7
mamir
https://codereview.chromium.org/2925053003/diff/20001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2925053003/diff/20001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode301 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:301: CHECK(instance_id_profile_service->driver()); On 2017/06/08 13:37:15, sfiera wrote: > These should ...
3 years, 6 months ago (2017-06-08 15:20:07 UTC) #8
sfiera
LGTM
3 years, 6 months ago (2017-06-08 15:27:33 UTC) #9
mamir
jkrcal@chromium.org: Please review changes in
3 years, 6 months ago (2017-06-08 15:50:14 UTC) #11
jkrcal
Mostly nits, looks good. https://codereview.chromium.org/2925053003/diff/40001/components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc File components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc (right): https://codereview.chromium.org/2925053003/diff/40001/components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc#newcode112 components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc:112: on_new_content_callback_.Run(base::Value()); Are you sure this ...
3 years, 6 months ago (2017-06-09 11:32:59 UTC) #12
sfiera
https://codereview.chromium.org/2925053003/diff/40001/components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.h File components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.h (right): https://codereview.chromium.org/2925053003/diff/40001/components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.h#newcode82 components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.h:82: // Called after everytime a new message is received ...
3 years, 6 months ago (2017-06-09 11:42:57 UTC) #13
mamir
https://codereview.chromium.org/2925053003/diff/40001/components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc File components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc (right): https://codereview.chromium.org/2925053003/diff/40001/components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc#newcode112 components/ntp_snippets/breaking_news/content_suggestions_gcm_app_handler.cc:112: on_new_content_callback_.Run(base::Value()); On 2017/06/09 11:32:59, jkrcal wrote: > Are you ...
3 years, 6 months ago (2017-06-09 14:41:02 UTC) #14
mamir
Hi holte@, Please review the changes in tools/metrics/histograms/histograms.xml
3 years, 6 months ago (2017-06-09 14:46:55 UTC) #16
jkrcal
lgtm, thanks!
3 years, 6 months ago (2017-06-09 15:31:34 UTC) #17
Steven Holte
lgtm
3 years, 6 months ago (2017-06-09 19:47:39 UTC) #18
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/2925053003/60001
3 years, 6 months ago (2017-06-09 19:50:06 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/438641)
3 years, 6 months ago (2017-06-09 20:00:53 UTC) #23
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/2925053003/80001
3 years, 6 months ago (2017-06-11 13:18:42 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/439024)
3 years, 6 months ago (2017-06-11 13:27:56 UTC) #28
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/2925053003/100001
3 years, 6 months ago (2017-06-11 13:56:37 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/286564)
3 years, 6 months ago (2017-06-11 15:13:00 UTC) #34
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/2925053003/100001
3 years, 6 months ago (2017-06-11 17:14:07 UTC) #36
commit-bot: I haz the power
3 years, 6 months ago (2017-06-11 17:19:10 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/25a32cd52f2c74f46f0bebe05aa4...

Powered by Google App Engine
This is Rietveld 408576698