| Index: chrome/browser/autocomplete/history_quick_provider.h
|
| ===================================================================
|
| --- chrome/browser/autocomplete/history_quick_provider.h (revision 105354)
|
| +++ chrome/browser/autocomplete/history_quick_provider.h (working copy)
|
| @@ -37,9 +37,6 @@
|
|
|
| virtual void DeleteMatch(const AutocompleteMatch& match) OVERRIDE;
|
|
|
| - // Performs the autocomplete matching and scoring.
|
| - void DoAutocomplete();
|
| -
|
| // Disable this provider. For unit testing purposes only. This is required
|
| // because this provider is closely associated with the HistoryURLProvider
|
| // and in order to properly test the latter the HistoryQuickProvider must
|
| @@ -52,6 +49,9 @@
|
| FRIEND_TEST_ALL_PREFIXES(HistoryQuickProviderTest, Spans);
|
| FRIEND_TEST_ALL_PREFIXES(HistoryQuickProviderTest, Relevance);
|
|
|
| + // Performs the autocomplete matching and scoring.
|
| + void DoAutocomplete();
|
| +
|
| // Creates an AutocompleteMatch from |history_match|. |max_match_score| gives
|
| // the maximum possible score for the match. |history_matches| is the full set
|
| // of matches to compare each match to when calculating confidence.
|
| @@ -81,7 +81,8 @@
|
| bool is_url);
|
|
|
| // Only for use in unittests. Takes ownership of |index|.
|
| - void SetIndexForTesting(history::InMemoryURLIndex* index);
|
| + void set_index(history::InMemoryURLIndex* index);
|
| +
|
| AutocompleteInput autocomplete_input_;
|
| std::string languages_;
|
|
|
|
|