Index: chrome/browser/browser_about_handler.cc |
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc |
index e32973a6df76e86833296150f5cdb5273aa44473..7878b2574b6f1549a0723cbe1da206a86963382f 100644 |
--- a/chrome/browser/browser_about_handler.cc |
+++ b/chrome/browser/browser_about_handler.cc |
@@ -10,20 +10,20 @@ |
#include "base/strings/string_util.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
#include "chrome/browser/ui/browser_dialogs.h" |
-#include "chrome/common/net/url_fixer_upper.h" |
#include "chrome/common/url_constants.h" |
+#include "components/url_fixer/url_fixer.h" |
bool WillHandleBrowserAboutURL(GURL* url, |
content::BrowserContext* browser_context) { |
// TODO(msw): Eliminate "about:*" constants and literals from code and tests, |
// then hopefully we can remove this forced fixup. |
- *url = URLFixerUpper::FixupURL(url->possibly_invalid_spec(), std::string()); |
+ *url = url_fixer::FixupURL(url->possibly_invalid_spec(), std::string()); |
- // Check that about: URLs are fixed up to chrome: by URLFixerUpper::FixupURL. |
+ // Check that about: URLs are fixed up to chrome: by url_fixer::FixupURL. |
DCHECK((*url == GURL(url::kAboutBlankURL)) || |
!url->SchemeIs(url::kAboutScheme)); |
- // Only handle chrome://foo/, URLFixerUpper::FixupURL translates about:foo. |
+ // Only handle chrome://foo/, url_fixer::FixupURL translates about:foo. |
if (!url->SchemeIs(content::kChromeUIScheme)) |
return false; |