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

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

Issue 120593003: Move kFileScheme constant into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 bc3ea912ee6239e483723577939d155f98c46ae5..68da552db574bc802f54f48342c5dd8090a4c89d 100644
--- a/chrome/common/net/url_fixer_upper.cc
+++ b/chrome/common/net/url_fixer_upper.cc
@@ -426,7 +426,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) && (scheme != chrome::kChromeUIScheme) &&
- ((scheme == chrome::kFileScheme) || !url_util::IsStandard(scheme.c_str(),
+ ((scheme == content::kFileScheme) || !url_util::IsStandard(scheme.c_str(),
url_parse::Component(0, static_cast<int>(scheme.length())))))
return scheme;
@@ -517,7 +517,7 @@ GURL URLFixerUpper::FixupURL(const std::string& text,
}
// We handle the file scheme separately.
- if (scheme == chrome::kFileScheme)
+ if (scheme == content::kFileScheme)
return GURL(parts.scheme.is_valid() ? text : FixupPath(text));
// We handle the filesystem scheme separately.
« no previous file with comments | « chrome/common/extensions/permissions/permission_message_util.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698