| Index: components/history/core/browser/url_utils.h
|
| diff --git a/components/history/core/browser/url_utils.h b/components/history/core/browser/url_utils.h
|
| index e60eb4f9a7762b55b88ec39a7892181cc17ae1a5..ba4f4aa5cf053c6053fa68781e37354ef7fe95bf 100644
|
| --- a/components/history/core/browser/url_utils.h
|
| +++ b/components/history/core/browser/url_utils.h
|
| @@ -41,6 +41,10 @@ bool IsPathPrefix(const std::string& p1, const std::string& p2);
|
| // If |url| is neither HTTP nor HTTPS, returns an empty URL.
|
| GURL ToggleHTTPAndHTTPS(const GURL& url);
|
|
|
| +// Returns the host of the given URL, canonicalized as it would be for
|
| +// HistoryService::TopHosts().
|
| +std::string HostForTopHosts(const GURL& url);
|
| +
|
| } // namespace history
|
|
|
| #endif // COMPONENTS_HISTORY_CORE_BROWSER_URL_UTILS_H_
|
|
|