summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/history_url_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/history_url_provider.h')
-rw-r--r--chrome/browser/autocomplete/history_url_provider.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/chrome/browser/autocomplete/history_url_provider.h b/chrome/browser/autocomplete/history_url_provider.h
index 00e03da..3160796 100644
--- a/chrome/browser/autocomplete/history_url_provider.h
+++ b/chrome/browser/autocomplete/history_url_provider.h
@@ -85,7 +85,6 @@ class HistoryBackend;
// service.
struct HistoryURLProviderParams {
HistoryURLProviderParams(const AutocompleteInput& input,
- const AutocompleteInput& original_input,
bool trim_http,
const std::wstring& languages);
@@ -95,10 +94,6 @@ struct HistoryURLProviderParams {
// live beyond the original query while it runs on the history thread.
AutocompleteInput input;
- // The same as |input|, but without any fixup performed beforehand on the
- // input text. This is used when calling SuggestExactInput().
- AutocompleteInput original_input;
-
// Set when "http://" should be trimmed from the beginning of the URLs.
bool trim_http;
@@ -317,7 +312,8 @@ class HistoryURLProvider : public AutocompleteProvider {
bool promote);
// Helper function that actually launches the two autocomplete passes.
- void RunAutocompletePasses(const AutocompleteInput& input, bool run_pass_1);
+ void RunAutocompletePasses(const AutocompleteInput& input,
+ bool fixup_input_and_run_pass_1);
// Returns the best prefix that begins |text|. "Best" means "greatest number
// of components". This may return NULL if no prefix begins |text|.
@@ -328,11 +324,9 @@ class HistoryURLProvider : public AutocompleteProvider {
const Prefix* BestPrefix(const GURL& text,
const std::wstring& prefix_suffix) const;
- // Returns a match corresponding to exactly what the user has typed. This is
- // only valid if |valid| is set to true.
+ // Returns a match corresponding to exactly what the user has typed.
AutocompleteMatch SuggestExactInput(const AutocompleteInput& input,
- bool trim_http,
- bool* valid);
+ bool trim_http);
// Assumes |params| contains the "what you typed" suggestion created by
// SuggestExactInput(). Looks up its info in the DB. If found, fills in the