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 37b4d68927ee8d663666f3bd550cac9d94b79013..244754cb862a9306521b6917f1d67acda4caff43 100644 |
--- a/chrome/common/net/url_fixer_upper.cc |
+++ b/chrome/common/net/url_fixer_upper.cc |
@@ -18,6 +18,7 @@ |
#include "net/base/filename_util.h" |
#include "net/base/net_util.h" |
#include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
+#include "net/base/url_constants.h" |
#include "url/url_file.h" |
#include "url/url_parse.h" |
#include "url/url_util.h" |
@@ -423,8 +424,8 @@ std::string SegmentURLInternal(std::string* text, url_parse::Parsed* parts) { |
if (!found_scheme) { |
// Couldn't determine the scheme, so just pick one. |
parts->scheme.reset(); |
- scheme = StartsWithASCII(*text, "ftp.", false) ? |
- content::kFtpScheme : content::kHttpScheme; |
+ scheme = StartsWithASCII(*text, "ftp.", false) ? content::kFtpScheme |
+ : net::kHttpScheme; |
} |
} |