Index: chrome/browser/autocomplete/autocomplete.h |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete.h (revision 104960) |
+++ chrome/browser/autocomplete/autocomplete.h (working copy) |
@@ -264,6 +264,9 @@ |
const GURL& url, |
const string16& formatted_url); |
+ // Returns the number of non-empty components in |parts| besides the host. |
+ static int NumNonHostComponents(const url_parse::Parsed& parts); |
+ |
// User-provided text to be completed. |
const string16& text() const { return text_; } |