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

Issue 2864103003: Limit the number of history urls indexed for omnibox suggestions. (Closed)

Created:
3 years, 7 months ago by ssid
Modified:
3 years, 7 months ago
Reviewers:
Mark P, sdefresne
CC:
chromium-reviews, jdonnelly+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit the number of history urls indexed for omnibox suggestions. The limit is set by experiment args and by default there is no limit. BUG=715852 Review-Url: https://codereview.chromium.org/2864103003 Cr-Commit-Position: refs/heads/master@{#470742} Committed: https://chromium.googlesource.com/chromium/src/+/887dee671bfb3f1862912eae6d92a127e67f6325

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixes. #

Total comments: 12

Patch Set 3 : address comments. #

Total comments: 8

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -19 lines) Patch
M components/history/core/browser/url_database.h View 1 chunk +3 lines, -3 lines 0 comments Download
M components/history/core/browser/url_database.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/history/core/browser/url_database_unittest.cc View 1 2 2 chunks +34 lines, -16 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.h View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.cc View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download
M components/omnibox/browser/url_index_private_data.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (17 generated)
ssid
+Mark, wdyt? I am not sure if I can enable experiments using command line flags. ...
3 years, 7 months ago (2017-05-06 01:58:27 UTC) #2
ssid
+Mark, wdyt? I am not sure if I can enable experiments using command line flags. ...
3 years, 7 months ago (2017-05-06 01:58:42 UTC) #4
Mark P
Seems like a plausible approach. Some comments: 1. please add tests to url_database_unittest.cc 2. please ...
3 years, 7 months ago (2017-05-07 21:32:39 UTC) #5
ssid
Thanks for your comments. Made changes as suggested. ptal thanks!
3 years, 7 months ago (2017-05-08 18:52:34 UTC) #7
Mark P
Generally fine. --mark https://codereview.chromium.org/2864103003/diff/20001/components/history/core/browser/url_database_unittest.cc File components/history/core/browser/url_database_unittest.cc (right): https://codereview.chromium.org/2864103003/diff/20001/components/history/core/browser/url_database_unittest.cc#newcode237 components/history/core/browser/url_database_unittest.cc:237: TEST_F(URLDatabaseTest, EnumeratorForSignificant) { Please restructure this ...
3 years, 7 months ago (2017-05-08 22:39:17 UTC) #8
ssid
Thanks, made changes as suggested. ptal. https://codereview.chromium.org/2864103003/diff/20001/components/history/core/browser/url_database_unittest.cc File components/history/core/browser/url_database_unittest.cc (right): https://codereview.chromium.org/2864103003/diff/20001/components/history/core/browser/url_database_unittest.cc#newcode237 components/history/core/browser/url_database_unittest.cc:237: TEST_F(URLDatabaseTest, EnumeratorForSignificant) { ...
3 years, 7 months ago (2017-05-10 01:01:35 UTC) #9
ssid
+sdefresne for history/ changes.
3 years, 7 months ago (2017-05-10 01:02:43 UTC) #11
sdefresne
lgtm https://codereview.chromium.org/2864103003/diff/40001/components/omnibox/browser/omnibox_field_trial.cc File components/omnibox/browser/omnibox_field_trial.cc (right): https://codereview.chromium.org/2864103003/diff/40001/components/omnibox/browser/omnibox_field_trial.cc#newcode639 components/omnibox/browser/omnibox_field_trial.cc:639: if (!param_value.empty() && base::StringToInt(param_value, &num_urls)) nit: base::StringToInt returns ...
3 years, 7 months ago (2017-05-10 08:59:41 UTC) #13
Mark P
https://codereview.chromium.org/2864103003/diff/20001/components/omnibox/browser/omnibox_field_trial.h File components/omnibox/browser/omnibox_field_trial.h (right): https://codereview.chromium.org/2864103003/diff/20001/components/omnibox/browser/omnibox_field_trial.h#newcode412 components/omnibox/browser/omnibox_field_trial.h:412: // Returns the maximum number of history urls to ...
3 years, 7 months ago (2017-05-10 17:23:09 UTC) #14
ssid
Thanks made changes https://codereview.chromium.org/2864103003/diff/20001/components/omnibox/browser/omnibox_field_trial.h File components/omnibox/browser/omnibox_field_trial.h (right): https://codereview.chromium.org/2864103003/diff/20001/components/omnibox/browser/omnibox_field_trial.h#newcode412 components/omnibox/browser/omnibox_field_trial.h:412: // Returns the maximum number of ...
3 years, 7 months ago (2017-05-10 19:47:58 UTC) #19
Mark P
lgtm Please test this interactively before submitting using --force-fieldtrials= and --force-fieldtrial-params= and about:histograms to make ...
3 years, 7 months ago (2017-05-10 19:56:46 UTC) #20
ssid
On 2017/05/10 19:56:46, Mark P wrote: > lgtm > > Please test this interactively before ...
3 years, 7 months ago (2017-05-10 22:58:40 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/2864103003/60001
3 years, 7 months ago (2017-05-10 23:00:37 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/887dee671bfb3f1862912eae6d92a127e67f6325
3 years, 7 months ago (2017-05-10 23:11:32 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 00:06:10 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/887dee671bfb3f1862912eae6d92...

Powered by Google App Engine
This is Rietveld 408576698