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

Issue 2552813005: Use improved VariationParamsManager to hide details. (Closed)

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

Description

Use improved VariationParamsManager to hide details. Resolved a TODO: The testing::variations::VariationParamsManager replaces a mock. In order to enable Feature-associated params, the tested RequestBuilder needed to be mocked. Since CL 645447, Feature-association works now and exposing implementation details and mocking is now unnecessary. BUG=634892 Committed: https://crrev.com/d252262639919ba0dedc8a35d737ac79c53c624d Cr-Commit-Position: refs/heads/master@{#438122}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Renamed tests. #

Patch Set 3 : Rebased, #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -81 lines) Patch
M components/ntp_snippets/remote/ntp_snippets_fetcher.h View 1 2 2 chunks +12 lines, -14 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_fetcher.cc View 1 2 2 chunks +10 lines, -10 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc View 1 2 22 chunks +64 lines, -57 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
fhorschig
Would you please take a look at this small, TODO-resolving and test-improving CL?
4 years ago (2016-12-06 16:08:59 UTC) #4
jkrcal
https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc File components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc (right): https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc#newcode212 components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc:212: std::set<std::string>( Do you need to wrap the initializer list ...
4 years ago (2016-12-06 16:50:48 UTC) #7
tschumann
lgtm https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc File components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc (right): https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc#newcode201 components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc:201: NTPSnippetsFetcherTest() nit: As you're touching this code, can ...
4 years ago (2016-12-06 17:58:16 UTC) #8
fhorschig
https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc File components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc (right): https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc#newcode201 components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc:201: NTPSnippetsFetcherTest() On 2016/12/06 17:58:16, tschumann wrote: > nit: As ...
4 years ago (2016-12-12 14:16:38 UTC) #9
jkrcal
lgtm https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc File components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc (right): https://codereview.chromium.org/2552813005/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc#newcode212 components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc:212: std::set<std::string>( On 2016/12/12 14:16:37, fhorschig wrote: > On ...
4 years ago (2016-12-12 14:27:15 UTC) #10
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/2552813005/60001
4 years ago (2016-12-13 10:14:00 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-12-13 11:05:53 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-13 11:08:52 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d252262639919ba0dedc8a35d737ac79c53c624d
Cr-Commit-Position: refs/heads/master@{#438122}

Powered by Google App Engine
This is Rietveld 408576698