Index: chrome/browser/net/url_fixer_upper.h |
diff --git a/chrome/browser/net/url_fixer_upper.h b/chrome/browser/net/url_fixer_upper.h |
index e6096bb4cf9569445e3e20060b5df92a83e7e2e5..a0970fb47f205a50c05e6f1034630e4ead661597 100644 |
--- a/chrome/browser/net/url_fixer_upper.h |
+++ b/chrome/browser/net/url_fixer_upper.h |
@@ -49,6 +49,11 @@ namespace URLFixerUpper { |
// instead of ".com"). |
GURL FixupURL(const std::string& text, const std::string& desired_tld); |
+ // Normalizes about:foo, about://foo, and chrome:foo to chrome://foo. |
+ // The host "version" is added if the url does not contain a host ("about:"); |
+ // otherwise GURL considers the result invalid. |
+ GURL FixupChromeURL(const GURL& url); |
abarth-chromium
2011/05/31 19:27:54
This description doesn't seem quite right. This f
msw
2011/05/31 20:58:25
Done.
|
+ |
// Converts |text| to a fixed-up URL, allowing it to be a relative path on |
// the local filesystem. Begin searching in |base_dir|; if empty, use the |
// current working directory. If this resolves to a file on disk, convert it |