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

Issue 10907176: Omnibox: Fix HistoryQuick provider can_inline bug (Closed)

Created:
8 years, 3 months ago by Mark P
Modified:
8 years, 3 months ago
CC:
chromium-reviews, browser-components-watch_chromium.org, Peter Kasting
Visibility:
Public.

Description

Omnibox: Fix HistoryQuick provider can_inline bug The HistoryQuick provider erroneously sets can_inline to false when the user's input matches mid-word in the scheme, even if the scheme is droppable. For instance, for the omnibox input "t", the URL http://teams.foo.com/ would be considered not inlineable. This is wrong. This changelist revises the can_inline code to make it correct in these cases. I added tests. Before this change, the new tests fail. Specifically, lines 158 and 174 fail. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156204

Patch Set 1 #

Patch Set 2 : Revise comment. #

Total comments: 6

Patch Set 3 : Reply to comments. #

Total comments: 4

Patch Set 4 : Comments and parens. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -10 lines) Patch
M chrome/browser/history/scored_history_match.cc View 1 2 3 1 chunk +9 lines, -10 lines 0 comments Download
M chrome/browser/history/scored_history_match_unittest.cc View 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Mark P
Mike, I found the problem I saw yesterday. Once you review this, I'll add sky ...
8 years, 3 months ago (2012-09-11 15:22:27 UTC) #1
mrossetti
LGTM with one minor suggestion. https://chromiumcodereview.appspot.com/10907176/diff/2001/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://chromiumcodereview.appspot.com/10907176/diff/2001/chrome/browser/history/scored_history_match.cc#newcode107 chrome/browser/history/scored_history_match.cc:107: const URLPrefix* best_prefix = ...
8 years, 3 months ago (2012-09-11 17:36:10 UTC) #2
Peter Kasting
https://chromiumcodereview.appspot.com/10907176/diff/2001/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://chromiumcodereview.appspot.com/10907176/diff/2001/chrome/browser/history/scored_history_match.cc#newcode100 chrome/browser/history/scored_history_match.cc:100: // 2) AND a match begins immediately after a ...
8 years, 3 months ago (2012-09-11 17:52:49 UTC) #3
Mark P
ptal https://chromiumcodereview.appspot.com/10907176/diff/2001/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://chromiumcodereview.appspot.com/10907176/diff/2001/chrome/browser/history/scored_history_match.cc#newcode100 chrome/browser/history/scored_history_match.cc:100: // 2) AND a match begins immediately after ...
8 years, 3 months ago (2012-09-11 21:52:17 UTC) #4
Peter Kasting
LGTM https://chromiumcodereview.appspot.com/10907176/diff/7001/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://chromiumcodereview.appspot.com/10907176/diff/7001/chrome/browser/history/scored_history_match.cc#newcode100 chrome/browser/history/scored_history_match.cc:100: // 2) AND a match begins immediately after ...
8 years, 3 months ago (2012-09-11 21:57:48 UTC) #5
Mark P
https://chromiumcodereview.appspot.com/10907176/diff/7001/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://chromiumcodereview.appspot.com/10907176/diff/7001/chrome/browser/history/scored_history_match.cc#newcode100 chrome/browser/history/scored_history_match.cc:100: // 2) AND a match begins immediately after a ...
8 years, 3 months ago (2012-09-11 22:05:00 UTC) #6
Mark P
Adding sky for rubberstamp OWNERS approval.
8 years, 3 months ago (2012-09-11 23:02:40 UTC) #7
sky
LGTM
8 years, 3 months ago (2012-09-11 23:27:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10907176/3004
8 years, 3 months ago (2012-09-11 23:35:25 UTC) #9
commit-bot: I haz the power
8 years, 3 months ago (2012-09-12 01:36:41 UTC) #10
Change committed as 156204

Powered by Google App Engine
This is Rietveld 408576698