Index: chrome/common/search_urls.cc |
diff --git a/chrome/common/search_urls.cc b/chrome/common/search_urls.cc |
index 98568429e5d2334348244c46976c1254fdfc6bc8..c32bd2f72534852023713562a618e47b3577910d 100644 |
--- a/chrome/common/search_urls.cc |
+++ b/chrome/common/search_urls.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/common/search_urls.h" |
#include "content/public/common/url_constants.h" |
+#include "net/base/url_constants.h" |
#include "url/gurl.h" |
namespace search { |
@@ -14,8 +15,8 @@ bool MatchesOrigin(const GURL& my_url, const GURL& other_url) { |
return my_url.host() == other_url.host() && |
my_url.port() == other_url.port() && |
(my_url.scheme() == other_url.scheme() || |
- (my_url.SchemeIs(content::kHttpsScheme) && |
- other_url.SchemeIs(content::kHttpScheme))); |
+ (my_url.SchemeIs(net::kHttpsScheme) && |
+ other_url.SchemeIs(net::kHttpScheme))); |
} |
} // namespace |