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

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

Issue 191293009: Cleanup: Move kAboutScheme constant into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « chrome/browser/ui/toolbar/origin_chip_info.cc ('k') | chrome/utility/importer/bookmarks_file_importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 96d7f4ecf7aa466466fd8f4ad98ceae4a1cb7e27..3679d59f691a28b810f1e1825debc367507a7647 100644
--- a/chrome/common/net/url_fixer_upper.cc
+++ b/chrome/common/net/url_fixer_upper.cc
@@ -428,7 +428,7 @@ std::string SegmentURLInternal(std::string* text, url_parse::Parsed* parts) {
}
// Proceed with about and chrome schemes, but not file or nonstandard schemes.
- if ((scheme != chrome::kAboutScheme) &&
+ if ((scheme != content::kAboutScheme) &&
(scheme != content::kChromeUIScheme) &&
((scheme == content::kFileScheme) ||
!url_util::IsStandard(
@@ -535,7 +535,7 @@ 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 == chrome::kAboutScheme) ||
+ ((scheme == content::kAboutScheme) ||
(scheme == content::kChromeUIScheme));
// For some schemes whose layouts we understand, we rebuild it.
« no previous file with comments | « chrome/browser/ui/toolbar/origin_chip_info.cc ('k') | chrome/utility/importer/bookmarks_file_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698