Index: chrome/browser/autocomplete/url_prefix.h |
diff --git a/chrome/browser/autocomplete/url_prefix.h b/chrome/browser/autocomplete/url_prefix.h |
index f5494cbfe78d4983340038801619b628b4759ec0..b7728b0f322bccb5201b2d7e5c66d687d6b0efcf 100644 |
--- a/chrome/browser/autocomplete/url_prefix.h |
+++ b/chrome/browser/autocomplete/url_prefix.h |
@@ -39,20 +39,19 @@ struct URLPrefix { |
const base::string16& prefix_suffix); |
// Sees if |text| is inlineable against either |input| or |fixed_up_input|, |
- // filling in |match_start| and |inline_autocomplete_offset| appropriately. |
+ // returning the appropriate inline autocomplete offset or |
+ // base::string16::npos if |text| is not inlineable. |
// |allow_www_prefix_without_scheme| says whether to consider an input such |
// as "foo" to be allowed to match against text "www.foo.com". This is |
// needed because sometimes the string we're matching against here can come |
// from a match's fill_into_edit, which can start with "www." without having |
// a protocol at the beginning, and we want to allow these matches to be |
// inlineable. ("www." is not otherwise on the default prefix list.) |
- static void ComputeMatchStartAndInlineAutocompleteOffset( |
+ static size_t GetInlineAutocompleteOffset( |
const AutocompleteInput& input, |
const AutocompleteInput& fixed_up_input, |
const bool allow_www_prefix_without_scheme, |
- const base::string16& text, |
- size_t* match_start, |
- size_t* inline_autocomplete_offset); |
+ const base::string16& text); |
base::string16 prefix; |