Index: chrome/browser/autocomplete/autocomplete_match.h |
diff --git a/chrome/browser/autocomplete/autocomplete_match.h b/chrome/browser/autocomplete/autocomplete_match.h |
index f459578bb027f3f012342998b33a6066be4c94c5..551b9ef1f72788281edbc06331a5aa2c84ef1714 100644 |
--- a/chrome/browser/autocomplete/autocomplete_match.h |
+++ b/chrome/browser/autocomplete/autocomplete_match.h |
@@ -187,7 +187,11 @@ struct AutocompleteMatch { |
// remove likely duplicates; these URLs are not used as actual |
// destination URLs. This method is invoked internally by the |
// AutocompleteResult and does not normally need to be invoked. |
- void ComputeStrippedDestinationURL(); |
+ // If |search_provider_url| is not NULL, it is used to normalize |
+ // URLs that might have been generated by the default search provider. |
Peter Kasting
2012/10/19 22:49:33
We should not pass this in.
If the match has an a
|
+ // This is in particular important for all URLs with time/position sensitive |
+ // CGI params that need to be stripped off. |
+ void ComputeStrippedDestinationURL(TemplateURL* search_provider_url); |
// Gets data relevant to whether there should be any special keyword-related |
// UI shown for this match. If this match represents a selected keyword, i.e. |