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

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

Issue 104043010: Cleanup: Move kFileSystemScheme 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 ae917e2ec47575fdb19461c5fbfc3486784599bc..54407c665ad18dad7f4155f7993178619e70911c 100644
--- a/chrome/common/net/url_fixer_upper.cc
+++ b/chrome/common/net/url_fixer_upper.cc
@@ -430,7 +430,7 @@ std::string SegmentURLInternal(std::string* text, url_parse::Parsed* parts) {
url_parse::Component(0, static_cast<int>(scheme.length())))))
return scheme;
- if (scheme == chrome::kFileSystemScheme) {
+ if (scheme == content::kFileSystemScheme) {
// Have the GURL parser do the heavy lifting for us.
url_parse::ParseFileSystemURL(text->data(),
static_cast<int>(text->length()), parts);
@@ -521,7 +521,7 @@ GURL URLFixerUpper::FixupURL(const std::string& text,
return GURL(parts.scheme.is_valid() ? text : FixupPath(text));
// We handle the filesystem scheme separately.
- if (scheme == chrome::kFileSystemScheme) {
+ if (scheme == content::kFileSystemScheme) {
if (parts.inner_parsed() && parts.inner_parsed()->scheme.is_valid())
return GURL(text);
return GURL();

Powered by Google App Engine
This is Rietveld 408576698