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

Issue 2395273003: [NTP Snippets] Persist remote categories in prefs (Closed)

Created:
4 years, 2 months ago by Marc Treib
Modified:
4 years, 2 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, tschumann
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Snippets] Persist remote categories in prefs This is the first part of persisting non-article remote suggestions. The next part will be persisting the suggestions themselves. BUG=653476 Committed: https://crrev.com/136a7131948b4adc886e8da7ddfac54c2ae8b1b8 Cr-Commit-Position: refs/heads/master@{#424122}

Patch Set 1 #

Total comments: 6

Patch Set 2 : tschumann review #

Total comments: 4

Patch Set 3 : review #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -24 lines) Patch
M components/ntp_snippets/category.h View 4 chunks +4 lines, -2 lines 0 comments Download
M components/ntp_snippets/pref_names.h View 1 chunk +7 lines, -0 lines 0 comments Download
M components/ntp_snippets/pref_names.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_service.cc View 1 2 18 chunks +112 lines, -19 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_service_unittest.cc View 1 2 3 5 chunks +45 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
Marc Treib
PTAL!
4 years, 2 months ago (2016-10-07 14:32:13 UTC) #4
tschumann
lgtm with nits. we should probably add a TODO() where we receive the response from ...
4 years, 2 months ago (2016-10-07 14:45:55 UTC) #7
tschumann
lgtm with nits. we should probably add a TODO() where we receive the response from ...
4 years, 2 months ago (2016-10-07 14:45:55 UTC) #8
Marc Treib
TODO for reordering added. https://codereview.chromium.org/2395273003/diff/1/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc File components/ntp_snippets/remote/ntp_snippets_service_unittest.cc (right): https://codereview.chromium.org/2395273003/diff/1/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc#newcode743 components/ntp_snippets/remote/ntp_snippets_service_unittest.cc:743: GetMultiCategoryJson({GetSnippetN(0)}, {GetSnippetN(1)})); On 2016/10/07 14:45:55, ...
4 years, 2 months ago (2016-10-07 15:29:56 UTC) #12
tschumann
lgtm https://codereview.chromium.org/2395273003/diff/1/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc File components/ntp_snippets/remote/ntp_snippets_service_unittest.cc (right): https://codereview.chromium.org/2395273003/diff/1/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc#newcode751 components/ntp_snippets/remote/ntp_snippets_service_unittest.cc:751: ASSERT_NE(observer().StatusForCategory(other_category()), On 2016/10/07 15:29:55, Marc Treib wrote: > ...
4 years, 2 months ago (2016-10-07 16:12:45 UTC) #17
Bernhard Bauer
lgtm https://codereview.chromium.org/2395273003/diff/40001/components/ntp_snippets/category.h File components/ntp_snippets/category.h (right): https://codereview.chromium.org/2395273003/diff/40001/components/ntp_snippets/category.h#newcode48 components/ntp_snippets/category.h:48: // INSERT NEW REMOTE CATEGORIES HERE! So it ...
4 years, 2 months ago (2016-10-07 16:21:27 UTC) #18
Marc Treib
https://codereview.chromium.org/2395273003/diff/1/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc File components/ntp_snippets/remote/ntp_snippets_service_unittest.cc (right): https://codereview.chromium.org/2395273003/diff/1/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc#newcode751 components/ntp_snippets/remote/ntp_snippets_service_unittest.cc:751: ASSERT_NE(observer().StatusForCategory(other_category()), On 2016/10/07 16:12:45, tschumann wrote: > On 2016/10/07 ...
4 years, 2 months ago (2016-10-10 08:33:43 UTC) #19
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/2395273003/80001
4 years, 2 months ago (2016-10-10 09:20:11 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 2 months ago (2016-10-10 09:25:07 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 09:26:41 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/136a7131948b4adc886e8da7ddfac54c2ae8b1b8
Cr-Commit-Position: refs/heads/master@{#424122}

Powered by Google App Engine
This is Rietveld 408576698