Index: chrome/browser/autocomplete/history_provider_util.h |
diff --git a/chrome/browser/autocomplete/history_provider_util.h b/chrome/browser/autocomplete/history_provider_util.h |
index b30ce1f34d767bad119f762a62a9cdd32631839d..866a477bc83890ebad1a79d7688cfe2fa5d330b4 100644 |
--- a/chrome/browser/autocomplete/history_provider_util.h |
+++ b/chrome/browser/autocomplete/history_provider_util.h |
@@ -24,6 +24,11 @@ struct HistoryMatch { |
static bool EqualsGURL(const HistoryMatch& h, const GURL& url); |
+ // Returns true if url in this HistoryMatch is just a host |
+ // (e.g. "http://www.google.com/") and not some other subpage |
+ // (e.g. "http://www.google.com/foo.html"). |
+ bool IsHostOnly() const; |
+ |
URLRow url_info; |
// The offset of the user's input within the URL. |