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

Issue 7056030: Prevent Unnecessary Processing by HQP (Closed)

Created:
9 years, 7 months ago by mrossetti
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Prevent Unnecessary Processing by HQP The Search provider calls back into the AutocompleteController and then on to the other providers multiple times during the processing of an autocomplete but it is not necessary for the HQP to handle these calls. BUG=83186 TEST=Times recorded for about:histograms/Omnibox are reduced dramatically. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86287

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/autocomplete/history_quick_provider.cc View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
mrossetti
9 years, 7 months ago (2011-05-21 02:26:08 UTC) #1
Peter Kasting
9 years, 7 months ago (2011-05-21 02:40:09 UTC) #2
LGTM

http://codereview.chromium.org/7056030/diff/1/chrome/browser/autocomplete/his...
File chrome/browser/autocomplete/history_quick_provider.cc (right):

http://codereview.chromium.org/7056030/diff/1/chrome/browser/autocomplete/his...
chrome/browser/autocomplete/history_quick_provider.cc:51:
(input.matches_requested() == AutocompleteInput::BEST_MATCH &&
Nit: You might want a comment somewhere like "// Without inline autocompletion,
none of the HQP matches can score highly enough to be the best match."

Powered by Google App Engine
This is Rietveld 408576698