Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
index bc17cfd2cfa30ba2168447c057ecd845a8a1c87b..2bbf09552c7684c0e9851cc1f8ddaf4c94e6d7d7 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
@@ -62,6 +62,7 @@ |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/user_metrics.h" |
#include "extensions/common/constants.h" |
+#include "net/base/url_constants.h" |
#include "ui/gfx/image/image.h" |
#include "url/url_util.h" |
@@ -481,11 +482,11 @@ void OmniboxEditModel::AdjustTextForCopy(int sel_min, |
// entire host, and the user hasn't edited the host or manually removed the |
// scheme. |
GURL perm_url(PermanentURL()); |
- if (perm_url.SchemeIs(content::kHttpScheme) && |
- url->SchemeIs(content::kHttpScheme) && perm_url.host() == url->host()) { |
+ if (perm_url.SchemeIs(net::kHttpScheme) && url->SchemeIs(net::kHttpScheme) && |
+ perm_url.host() == url->host()) { |
*write_url = true; |
- base::string16 http = base::ASCIIToUTF16(content::kHttpScheme) + |
- base::ASCIIToUTF16(content::kStandardSchemeSeparator); |
+ base::string16 http = base::ASCIIToUTF16(net::kHttpScheme) + |
+ base::ASCIIToUTF16(content::kStandardSchemeSeparator); |
if (text->compare(0, http.length(), http) != 0) |
*text = http + *text; |
} |