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

Issue 2872573002: Use |min| param to query a variable number of suggestions (Closed)

Created:
3 years, 7 months ago by fhorschig
Modified:
3 years, 7 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use |min| param to query a variable number of suggestions In order to use the newly implemented server-side functionality of receiving less than 8 suggestions, the client has to append a new query parameter to the URL. Therefore, this CL is blocked on cr/155185623 BUG=709959 Review-Url: https://codereview.chromium.org/2872573002 Cr-Commit-Position: refs/heads/master@{#470874} Committed: https://chromium.googlesource.com/chromium/src/+/ec72b3b0616de6e11b11db904b12a5a7e2a1a9da

Patch Set 1 #

Patch Set 2 : Remove unnecessary includes #

Total comments: 4

Patch Set 3 : Use format strings to concat parameters #

Total comments: 6

Patch Set 4 : Control number of suggestion with variation param #

Total comments: 2

Patch Set 5 : Use GetFieldTrialParamByFeatureAsInt instead deprecated GetVariationParamByFeatureAsInt #

Patch Set 6 : Rebase (blackboxing unittest) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 lines) Patch
M components/suggestions/suggestions_service_impl.cc View 1 2 3 4 5 chunks +23 lines, -2 lines 0 comments Download
M components/suggestions/suggestions_service_impl_unittest.cc View 1 2 3 4 5 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
fhorschig
Hi Marc, could you please take a look at the client side of the cl/155185623? ...
3 years, 7 months ago (2017-05-08 14:08:55 UTC) #4
Marc Treib
https://codereview.chromium.org/2872573002/diff/20001/components/suggestions/suggestions_service_impl.cc File components/suggestions/suggestions_service_impl.cc (right): https://codereview.chromium.org/2872573002/diff/20001/components/suggestions/suggestions_service_impl.cc#newcode124 components/suggestions/suggestions_service_impl.cc:124: const char kSuggestionsUseAllParam[] = "all&"; Hm, I'm not a ...
3 years, 7 months ago (2017-05-08 14:26:05 UTC) #5
fhorschig
https://codereview.chromium.org/2872573002/diff/20001/components/suggestions/suggestions_service_impl.cc File components/suggestions/suggestions_service_impl.cc (right): https://codereview.chromium.org/2872573002/diff/20001/components/suggestions/suggestions_service_impl.cc#newcode124 components/suggestions/suggestions_service_impl.cc:124: const char kSuggestionsUseAllParam[] = "all&"; On 2017/05/08 14:26:04, Marc ...
3 years, 7 months ago (2017-05-10 09:51:16 UTC) #7
Marc Treib
https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc File components/suggestions/suggestions_service_impl.cc (right): https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc#newcode94 components/suggestions/suggestions_service_impl.cc:94: const char kSuggestionsUseAllParam[] = "min=0"; The "0" should probably ...
3 years, 7 months ago (2017-05-10 10:08:02 UTC) #8
fhorschig
https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc File components/suggestions/suggestions_service_impl.cc (right): https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc#newcode94 components/suggestions/suggestions_service_impl.cc:94: const char kSuggestionsUseAllParam[] = "min=0"; On 2017/05/10 10:08:02, Marc ...
3 years, 7 months ago (2017-05-10 12:25:30 UTC) #9
Marc Treib
lgtm https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc File components/suggestions/suggestions_service_impl.cc (right): https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc#newcode94 components/suggestions/suggestions_service_impl.cc:94: const char kSuggestionsUseAllParam[] = "min=0"; On 2017/05/10 12:25:30, ...
3 years, 7 months ago (2017-05-10 12:32:24 UTC) #10
fhorschig
Thanks! (Waiting for https://codereview.chromium.org/2869013004/ to land first.) https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc File components/suggestions/suggestions_service_impl.cc (right): https://codereview.chromium.org/2872573002/diff/60001/components/suggestions/suggestions_service_impl.cc#newcode94 components/suggestions/suggestions_service_impl.cc:94: const char ...
3 years, 7 months ago (2017-05-10 12:45:34 UTC) #11
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/2872573002/160001
3 years, 7 months ago (2017-05-11 08:16:17 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 08:21:10 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/ec72b3b0616de6e11b11db904b12...

Powered by Google App Engine
This is Rietveld 408576698