Index: chrome/browser/search_engines/template_url_service.cc |
diff --git a/chrome/browser/search_engines/template_url_service.cc b/chrome/browser/search_engines/template_url_service.cc |
index cda6a014594de234e19c4aba77a1b3380ee567ea..af7aa1ebed0b5a547862e19372eb76f66765717e 100644 |
--- a/chrome/browser/search_engines/template_url_service.cc |
+++ b/chrome/browser/search_engines/template_url_service.cc |
@@ -46,6 +46,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "extensions/common/constants.h" |
#include "net/base/net_util.h" |
+#include "net/base/url_constants.h" |
#include "sync/api/sync_change.h" |
#include "sync/api/sync_error_factory.h" |
#include "sync/protocol/search_engine_specifics.pb.h" |
@@ -345,10 +346,10 @@ base::string16 TemplateURLService::CleanUserInputKeyword( |
// If the scheme isn't "http" or "https", bail. The user isn't trying to |
// type a web address, but rather an FTP, file:, or other scheme URL, or a |
// search query with some sort of initial operator (e.g. "site:"). |
- if (result.compare(0, scheme_component.end(), |
- base::ASCIIToUTF16(content::kHttpScheme)) && |
- result.compare(0, scheme_component.end(), |
- base::ASCIIToUTF16(content::kHttpsScheme))) |
+ if (result.compare( |
+ 0, scheme_component.end(), base::ASCIIToUTF16(net::kHttpScheme)) && |
+ result.compare( |
+ 0, scheme_component.end(), base::ASCIIToUTF16(net::kHttpsScheme))) |
return base::string16(); |
// Include trailing ':'. |