Index: chrome/browser/autocomplete/history_provider.h |
=================================================================== |
--- chrome/browser/autocomplete/history_provider.h (revision 98899) |
+++ chrome/browser/autocomplete/history_provider.h (working copy) |
@@ -44,7 +44,9 @@ |
// Note that we don't do this in AutocompleteInput's constructor, because if |
// e.g. we convert a Unicode hostname to punycode, other providers will show |
// output that surprises the user ("Search Google for xn--6ca.com"). |
- static string16 FixupUserInput(const AutocompleteInput& input); |
+ // Returns false if the fixup attempt resulted in an empty string (which |
+ // providers generally can't do anything with). |
+ static bool FixupUserInput(AutocompleteInput* input); |
// Trims "http:" and up to two subsequent slashes from |url|. Returns the |
// number of characters that were trimmed. |