Index: chrome/browser/autocomplete/autocomplete_result.h |
diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h |
index 6ae7e390dc482251dd005c87684f0e6f1a2a61db..2da5320f811f07fc65971918964db0b11997fd6b 100644 |
--- a/chrome/browser/autocomplete/autocomplete_result.h |
+++ b/chrome/browser/autocomplete/autocomplete_result.h |
@@ -119,6 +119,11 @@ class AutocompleteResult { |
void Validate() const; |
#endif |
+ // Compute the "alternate navigation URL" for a given match. This is obtained |
+ // by interpreting the user input directly as a URL. |
+ static GURL ComputeAlternateNavUrl(const AutocompleteInput& input, |
+ const AutocompleteMatch& match); |
+ |
private: |
typedef std::map<AutocompleteProvider*, ACMatches> ProviderToMatches; |