| 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 b75082390bdc5a2acaace0cad8a21288e22b1eaf..07e76178dfce34afb0aec822da460a31048b0d60 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"
|
| @@ -344,10 +345,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 ':'.
|
|
|