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

Unified Diff: chrome/browser/autocomplete/history_quick_provider.h

Issue 7314018: Don't autocomplete searches of >1 word if they've only been visited once and the user has not yet... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/history_quick_provider.h
===================================================================
--- chrome/browser/autocomplete/history_quick_provider.h (revision 92729)
+++ chrome/browser/autocomplete/history_quick_provider.h (working copy)
@@ -45,6 +45,9 @@
FRIEND_TEST_ALL_PREFIXES(HistoryQuickProviderTest, Spans);
FRIEND_TEST_ALL_PREFIXES(HistoryQuickProviderTest, Relevance);
+ // The initial maximum allowable score for a match which cannot be inlined.
+ static const int kMaxNonInliningScore;
+
// Creates an AutocompleteMatch from |history_match|. |max_match_score| gives
// the maximum possible score for the match.
AutocompleteMatch QuickMatchToACMatch(

Powered by Google App Engine
This is Rietveld 408576698