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

Issue 2665743002: [Remote suggestions] Clean up variation params in the fetcher. (Closed)

Created:
3 years, 10 months ago by jkrcal
Modified:
3 years, 10 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Remote suggestions] Clean up variation params in the fetcher. This CL removes one obsolete variation param and associate another one by the feature name. BUG=686778 Review-Url: https://codereview.chromium.org/2665743002 Cr-Commit-Position: refs/heads/master@{#447992} Committed: https://chromium.googlesource.com/chromium/src/+/f18de6670998bc95c8cfda363cb84291471f2394

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixing a compile error #

Patch Set 3 : Rebase #

Patch Set 4 : Further changes & unit-test fixes #

Total comments: 5

Patch Set 5 : Remove an unused member #

Total comments: 3

Patch Set 6 : Add a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -143 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 1 chunk +1 line, -13 lines 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M components/ntp_snippets/remote/json_request.h View 4 chunks +0 lines, -8 lines 0 comments Download
M components/ntp_snippets/remote/json_request.cc View 1 2 5 chunks +0 lines, -13 lines 0 comments Download
M components/ntp_snippets/remote/json_request_unittest.cc View 1 8 chunks +1 line, -13 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_fetcher.h View 3 chunks +0 lines, -12 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_fetcher.cc View 1 2 3 6 chunks +6 lines, -50 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -20 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc View 1 2 3 4 5 chunks +6 lines, -8 lines 0 comments Download
M components/ntp_snippets/remote/request_params.h View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
jkrcal
Marc, here we go! (part 1)
3 years, 10 months ago (2017-01-30 16:57:47 UTC) #2
Marc Treib
Yay for removing the personalization param! One concern with re-associating the other param; maybe you've ...
3 years, 10 months ago (2017-01-30 17:02:57 UTC) #3
jkrcal
https://codereview.chromium.org/2665743002/diff/1/components/ntp_snippets/remote/remote_suggestions_fetcher.cc File components/ntp_snippets/remote/remote_suggestions_fetcher.cc (right): https://codereview.chromium.org/2665743002/diff/1/components/ntp_snippets/remote/remote_suggestions_fetcher.cc#newcode115 components/ntp_snippets/remote/remote_suggestions_fetcher.cc:115: ntp_snippets::kArticleSuggestionsFeature, kContentSuggestionsBackend); On 2017/01/30 17:02:57, Marc Treib wrote: > ...
3 years, 10 months ago (2017-01-30 17:11:02 UTC) #4
Marc Treib
Thanks! LGTM once you fix the failing tests ;) https://codereview.chromium.org/2665743002/diff/1/components/ntp_snippets/remote/remote_suggestions_fetcher.cc File components/ntp_snippets/remote/remote_suggestions_fetcher.cc (right): https://codereview.chromium.org/2665743002/diff/1/components/ntp_snippets/remote/remote_suggestions_fetcher.cc#newcode115 components/ntp_snippets/remote/remote_suggestions_fetcher.cc:115: ...
3 years, 10 months ago (2017-01-31 09:01:43 UTC) #13
jkrcal
Marc, please take another look. https://codereview.chromium.org/2665743002/diff/80001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/2665743002/diff/80001/chrome/browser/about_flags.cc#oldcode543 chrome/browser/about_flags.cc:543: const FeatureEntry::FeatureParam I've forgotten ...
3 years, 10 months ago (2017-02-03 10:17:49 UTC) #20
Marc Treib
Still LGTM, with one request for a TODO/bug https://codereview.chromium.org/2665743002/diff/80001/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc File components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc (left): https://codereview.chromium.org/2665743002/diff/80001/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc#oldcode419 components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc:419: utils_.fake_signin_manager()->SignIn("foo@bar.com"); ...
3 years, 10 months ago (2017-02-03 10:52:08 UTC) #21
jkrcal
Thanks! https://codereview.chromium.org/2665743002/diff/100001/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc File components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc (right): https://codereview.chromium.org/2665743002/diff/100001/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc#newcode415 components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc:415: utils_.fake_signin_manager(), /*token_service=*/nullptr, On 2017/02/03 10:52:08, Marc Treib wrote: ...
3 years, 10 months ago (2017-02-03 11:04:16 UTC) #22
Marc Treib
https://codereview.chromium.org/2665743002/diff/100001/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc File components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc (right): https://codereview.chromium.org/2665743002/diff/100001/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc#newcode415 components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc:415: utils_.fake_signin_manager(), /*token_service=*/nullptr, On 2017/02/03 11:04:16, jkrcal wrote: > On ...
3 years, 10 months ago (2017-02-03 11:10:46 UTC) #25
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/2665743002/120001
3 years, 10 months ago (2017-02-03 11:12:31 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 14:37:57 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/f18de6670998bc95c8cfda363cb8...

Powered by Google App Engine
This is Rietveld 408576698