| Index: chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| diff --git a/chrome/browser/ui/search_engines/search_engine_tab_helper.cc b/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| index 7ebda485ad15dabd61e25fce9c850aa16a4cd25a..2be316b637e68701e9b36a1de440af172c693bfd 100644
|
| --- a/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| +++ b/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| @@ -18,6 +18,7 @@
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/frame_navigate_params.h"
|
| +#include "net/base/url_constants.h"
|
|
|
| using content::NavigationController;
|
| using content::NavigationEntry;
|
| @@ -55,7 +56,7 @@ base::string16 GenerateKeywordFromNavigationEntry(
|
| // If we relax the path constraint, we need to be sure to sanitize the path
|
| // elements and update AutocompletePopup to look for keywords using the path.
|
| // See http://b/issue?id=863583.
|
| - if (!url.SchemeIs(content::kHttpScheme) || (url.path().length() > 1))
|
| + if (!url.SchemeIs(net::kHttpScheme) || (url.path().length() > 1))
|
| return base::string16();
|
|
|
| return TemplateURLService::GenerateKeyword(url);
|
|
|