Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3721)

Unified Diff: chrome/common/net/url_fixer_upper.cc

Issue 325443002: Move about://-related constants from //content to //url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/url_fixer_upper.cc
diff --git a/chrome/common/net/url_fixer_upper.cc b/chrome/common/net/url_fixer_upper.cc
index 80b48c32bba946f492024f05d3217a587cc8baa0..371b0e063183af07ae371c892a0650d4005e3295 100644
--- a/chrome/common/net/url_fixer_upper.cc
+++ b/chrome/common/net/url_fixer_upper.cc
@@ -429,7 +429,7 @@ std::string SegmentURLInternal(std::string* text, url::Parsed* parts) {
}
// Proceed with about and chrome schemes, but not file or nonstandard schemes.
- if ((scheme != content::kAboutScheme) &&
+ if ((scheme != url::kAboutScheme) &&
(scheme != content::kChromeUIScheme) &&
((scheme == url::kFileScheme) ||
!url::IsStandard(scheme.c_str(),
@@ -535,8 +535,8 @@ GURL URLFixerUpper::FixupURL(const std::string& text,
}
// Parse and rebuild about: and chrome: URLs, except about:blank.
- bool chrome_url = !LowerCaseEqualsASCII(trimmed, content::kAboutBlankURL) &&
- ((scheme == content::kAboutScheme) ||
+ bool chrome_url = !LowerCaseEqualsASCII(trimmed, url::kAboutBlankURL) &&
+ ((scheme == url::kAboutScheme) ||
(scheme == content::kChromeUIScheme));
// For some schemes whose layouts we understand, we rebuild it.

Powered by Google App Engine
This is Rietveld 408576698