| Index: chrome/browser/history/url_utils.h
|
| diff --git a/chrome/browser/history/url_utils.h b/chrome/browser/history/url_utils.h
|
| index 9e1ed2cc1610a1149822bf3c14c58e34581b42a9..daf5f111af42c75ce1585db35ed7956c5bfbe0b2 100644
|
| --- a/chrome/browser/history/url_utils.h
|
| +++ b/chrome/browser/history/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 true if this looks like the type of URL we want to add to the
|
| +// history. We filter out some URLs such as JavaScript.
|
| +bool CanAddURL(const GURL& url);
|
| +
|
| } // namespace history
|
|
|
| #endif // CHROME_BROWSER_HISTORY_URL_UTILS_H_
|
|
|