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

Issue 1737563003: [NTP Snippets] Persist the set of snippets in a pref (Closed)

Created:
4 years, 10 months ago by Marc Treib
Modified:
4 years, 9 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@snippets_merge
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Snippets] Persist the set of snippets in a pref BUG=587819 Committed: https://crrev.com/720f3a2148598295c59769195d29fa806e1ae492 Cr-Commit-Position: refs/heads/master@{#378234}

Patch Set 1 #

Patch Set 2 : fix tests #

Patch Set 3 : . #

Total comments: 10

Patch Set 4 : review #

Total comments: 2

Patch Set 5 : review2 #

Patch Set 6 : rebase, add missing files #

Patch Set 7 : fix gn deps #

Patch Set 8 : iOS #

Total comments: 4

Patch Set 9 : noyau review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -45 lines) Patch
M chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M components/ntp_snippets.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/BUILD.gn View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M components/ntp_snippets/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/ntp_snippet.h View 3 chunks +7 lines, -4 lines 0 comments Download
M components/ntp_snippets/ntp_snippet.cc View 1 2 2 chunks +54 lines, -12 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.h View 1 2 3 4 3 chunks +29 lines, -5 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.cc View 1 2 3 4 5 6 7 8 6 chunks +59 lines, -17 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service_unittest.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download
A components/ntp_snippets/pref_names.h View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A components/ntp_snippets/pref_names.cc View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M ios/chrome/browser/ntp_snippets/ios_chrome_ntp_snippets_service_factory.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/prefs/browser_prefs.mm View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (17 generated)
Marc Treib
PTAL!
4 years, 10 months ago (2016-02-25 16:58:38 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.cc#newcode20 components/ntp_snippets/ntp_snippets_service.cc:20: const char kSnippetsPref[] = "ntp_snippets.snippets"; This should be defined ...
4 years, 10 months ago (2016-02-25 17:16:33 UTC) #3
Marc Treib
https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.cc#newcode20 components/ntp_snippets/ntp_snippets_service.cc:20: const char kSnippetsPref[] = "ntp_snippets.snippets"; On 2016/02/25 17:16:33, Bernhard ...
4 years, 10 months ago (2016-02-26 17:06:12 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.h File components/ntp_snippets/ntp_snippets_service.h (right): https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.h#newcode49 components/ntp_snippets/ntp_snippets_service.h:49: NTPSnippetsService(PrefService* pref_service, On 2016/02/26 17:06:12, Marc Treib wrote: > ...
4 years, 10 months ago (2016-02-26 17:30:48 UTC) #8
Marc Treib
https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.h File components/ntp_snippets/ntp_snippets_service.h (right): https://codereview.chromium.org/1737563003/diff/40001/components/ntp_snippets/ntp_snippets_service.h#newcode49 components/ntp_snippets/ntp_snippets_service.h:49: NTPSnippetsService(PrefService* pref_service, On 2016/02/26 17:30:48, Bernhard Bauer wrote: > ...
4 years, 9 months ago (2016-02-29 10:04:42 UTC) #9
Bernhard Bauer
LGTM!
4 years, 9 months ago (2016-02-29 10:43:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737563003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737563003/140001
4 years, 9 months ago (2016-02-29 10:45:29 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/165600) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-02-29 10:47:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737563003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737563003/180001
4 years, 9 months ago (2016-02-29 11:16:30 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/73350)
4 years, 9 months ago (2016-02-29 11:20:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737563003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737563003/200001
4 years, 9 months ago (2016-02-29 11:34:48 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/179262)
4 years, 9 months ago (2016-02-29 11:44:56 UTC) #25
Marc Treib
+noyau for ios/. PTAL!
4 years, 9 months ago (2016-02-29 12:33:58 UTC) #27
noyau (Ping after 24h)
https://codereview.chromium.org/1737563003/diff/220001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/1737563003/diff/220001/chrome/browser/prefs/browser_prefs.cc#newcode428 chrome/browser/prefs/browser_prefs.cc:428: ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); This needs to be done in ios/chrome/browser/prefs/browser_prefs.mm as ...
4 years, 9 months ago (2016-02-29 15:57:14 UTC) #28
Marc Treib
https://codereview.chromium.org/1737563003/diff/220001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/1737563003/diff/220001/chrome/browser/prefs/browser_prefs.cc#newcode428 chrome/browser/prefs/browser_prefs.cc:428: ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); On 2016/02/29 15:57:14, noyau wrote: > This needs ...
4 years, 9 months ago (2016-02-29 17:07:38 UTC) #29
noyau (Ping after 24h)
lgtm
4 years, 9 months ago (2016-02-29 17:18:19 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737563003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737563003/240001
4 years, 9 months ago (2016-02-29 17:19:20 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:240001)
4 years, 9 months ago (2016-02-29 18:24:38 UTC) #34
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 18:27:40 UTC) #36
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/720f3a2148598295c59769195d29fa806e1ae492
Cr-Commit-Position: refs/heads/master@{#378234}

Powered by Google App Engine
This is Rietveld 408576698