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

Issue 2858883002: Add flag for disabling minimum of ntp tile suggestions (Closed)

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

Description

Add flag for disabling minimum of ntp tile suggestions This flag will cause the the client to use history-based suggestions for NTP tiles even if there are less than 8 suggestions available. This is particularily useful for Chrome Home and the condensed NTP where only 4 tiles are used and which does not contain any suggestions until there would be enough data for 8 suggestions. BUG=709959 Review-Url: https://codereview.chromium.org/2858883002 Cr-Commit-Position: refs/heads/master@{#469620} Committed: https://chromium.googlesource.com/chromium/src/+/122c6655af011e18e58f4384e327174dd6212874

Patch Set 1 #

Patch Set 2 : Replace switch with feature #

Total comments: 10

Patch Set 3 : Rename feature to SuggestionsWithoutMinimum #

Total comments: 2

Patch Set 4 : s/SuggestionsWithoutMinimum/UseSuggestionsEvenIfFew #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -0 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M components/suggestions/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A components/suggestions/features.h View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A components/suggestions/features.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (14 generated)
fhorschig
Hi Marc, would you please take a look at this new flag? It will enable ...
3 years, 7 months ago (2017-05-03 09:28:29 UTC) #2
Marc Treib
Any reason why this is a "raw" cmdline flag, rather than a base::Feature? Then we ...
3 years, 7 months ago (2017-05-03 09:39:48 UTC) #3
fhorschig
Thank you, it's a feature now. (It was a switch because I haven't paid close ...
3 years, 7 months ago (2017-05-03 10:31:30 UTC) #4
Marc Treib
https://codereview.chromium.org/2858883002/diff/20001/chrome/browser/flag_descriptions.cc File chrome/browser/flag_descriptions.cc (right): https://codereview.chromium.org/2858883002/diff/20001/chrome/browser/flag_descriptions.cc#newcode3097 chrome/browser/flag_descriptions.cc:3097: "Request suggestions from history even if there are only ...
3 years, 7 months ago (2017-05-03 11:43:57 UTC) #5
fhorschig
https://codereview.chromium.org/2858883002/diff/20001/chrome/browser/flag_descriptions.cc File chrome/browser/flag_descriptions.cc (right): https://codereview.chromium.org/2858883002/diff/20001/chrome/browser/flag_descriptions.cc#newcode3097 chrome/browser/flag_descriptions.cc:3097: "Request suggestions from history even if there are only ...
3 years, 7 months ago (2017-05-03 14:19:43 UTC) #6
Marc Treib
lgtm https://codereview.chromium.org/2858883002/diff/20001/components/suggestions/features.cc File components/suggestions/features.cc (right): https://codereview.chromium.org/2858883002/diff/20001/components/suggestions/features.cc#newcode10 components/suggestions/features.cc:10: // only very few of them. On 2017/05/03 ...
3 years, 7 months ago (2017-05-03 14:28:42 UTC) #7
fhorschig
https://codereview.chromium.org/2858883002/diff/20001/components/suggestions/features.cc File components/suggestions/features.cc (right): https://codereview.chromium.org/2858883002/diff/20001/components/suggestions/features.cc#newcode10 components/suggestions/features.cc:10: // only very few of them. On 2017/05/03 14:28:41, ...
3 years, 7 months ago (2017-05-04 07:39:59 UTC) #8
fhorschig
Hi Jesse, would you please take a look at the histograms.xml?
3 years, 7 months ago (2017-05-04 07:44:14 UTC) #10
jwd
lgtm
3 years, 7 months ago (2017-05-04 19:51:39 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/2858883002/80001
3 years, 7 months ago (2017-05-05 09:29:34 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 10:21:50 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/122c6655af011e18e58f4384e327...

Powered by Google App Engine
This is Rietveld 408576698