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

Issue 2279863002: Support server categories in NTPSnippetsService. (Closed)

Created:
4 years, 3 months ago by sfiera
Modified:
4 years, 3 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, Philipp Keck
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support server categories in NTPSnippetsService. Reland of: https://crrev.com/330958ddcdcd0084d724571eddaa66f9c364115f Not clear why tests failed; they passed for me and in the CQ. Removed one synchronization bit that wasn't really part of the change. BUG=633613 Committed: https://crrev.com/880bb766ee4985a8dd36be10098c5196c41f7509 Cr-Commit-Position: refs/heads/master@{#414681}

Patch Set 1 #

Patch Set 2 : Reverse WaitForDBLoad change. #

Patch Set 3 : rebase #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+426 lines, -223 lines) Patch
M components/ntp_snippets/ntp_snippets_fetcher.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.h View 6 chunks +36 lines, -20 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.cc View 21 chunks +327 lines, -157 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service_unittest.cc View 1 20 chunks +62 lines, -46 lines 4 comments Download

Messages

Total messages: 31 (17 generated)
sfiera
Not sure what protocol I should be following for relanding this, but I rebased and ...
4 years, 3 months ago (2016-08-25 17:49:56 UTC) #5
Marc Treib
On 2016/08/25 17:49:56, sfiera wrote: > Not sure what protocol I should be following for ...
4 years, 3 months ago (2016-08-25 19:34:03 UTC) #8
sfiera
On 2016/08/25 19:34:03, Marc Treib wrote: > On 2016/08/25 17:49:56, sfiera wrote: > > Not ...
4 years, 3 months ago (2016-08-25 20:16:15 UTC) #11
Marc Treib
On 2016/08/25 20:16:15, sfiera wrote: > On 2016/08/25 19:34:03, Marc Treib wrote: > > On ...
4 years, 3 months ago (2016-08-26 08:20:02 UTC) #14
Marc Treib
On 2016/08/26 08:20:02, Marc Treib wrote: > On 2016/08/25 20:16:15, sfiera wrote: > > On ...
4 years, 3 months ago (2016-08-26 08:21:17 UTC) #15
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/2279863002/40001
4 years, 3 months ago (2016-08-26 08:56:16 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-26 10:39:50 UTC) #23
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/880bb766ee4985a8dd36be10098c5196c41f7509 Cr-Commit-Position: refs/heads/master@{#414681}
4 years, 3 months ago (2016-08-26 10:41:35 UTC) #25
johnme
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2283743002/ by johnme@chromium.org. ...
4 years, 3 months ago (2016-08-26 11:22:57 UTC) #26
Philipp Keck
https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc File components/ntp_snippets/ntp_snippets_service_unittest.cc (right): https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc#newcode254 components/ntp_snippets/ntp_snippets_service_unittest.cc:254: EXPECT_CALL(*observer_, OnCategoryStatusChanged(_, _, _)) If the DB loads before ...
4 years, 3 months ago (2016-08-26 12:03:20 UTC) #27
Marc Treib
https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc File components/ntp_snippets/ntp_snippets_service_unittest.cc (right): https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc#newcode254 components/ntp_snippets/ntp_snippets_service_unittest.cc:254: EXPECT_CALL(*observer_, OnCategoryStatusChanged(_, _, _)) On 2016/08/26 12:03:20, Philipp Keck ...
4 years, 3 months ago (2016-08-26 12:07:11 UTC) #28
Philipp Keck
https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc File components/ntp_snippets/ntp_snippets_service_unittest.cc (right): https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc#newcode373 components/ntp_snippets/ntp_snippets_service_unittest.cc:373: base::MakeUnique<NTPSnippetsDatabase>(database_dir_.path(), If you replace this line with: base::MakeUnique<NTPSnippetsDatabase>(database_dir_.path().DirName().Append("testsdf"), you ...
4 years, 3 months ago (2016-08-26 12:17:48 UTC) #29
Marc Treib
https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc File components/ntp_snippets/ntp_snippets_service_unittest.cc (right): https://codereview.chromium.org/2279863002/diff/40001/components/ntp_snippets/ntp_snippets_service_unittest.cc#newcode373 components/ntp_snippets/ntp_snippets_service_unittest.cc:373: base::MakeUnique<NTPSnippetsDatabase>(database_dir_.path(), On 2016/08/26 12:17:48, Philipp Keck wrote: > If ...
4 years, 3 months ago (2016-08-26 12:24:43 UTC) #30
sfiera
4 years, 3 months ago (2016-08-26 12:29:28 UTC) #31
Message was sent while issue was closed.
The test needs a rewrite, in multiple ways. I guess that's what I'm doing today.

Powered by Google App Engine
This is Rietveld 408576698