| Index: chrome/browser/autocomplete/autocomplete_provider.cc
|
| ===================================================================
|
| --- chrome/browser/autocomplete/autocomplete_provider.cc (revision 231939)
|
| +++ chrome/browser/autocomplete/autocomplete_provider.cc (working copy)
|
| @@ -16,7 +16,6 @@
|
| #include "content/public/common/url_constants.h"
|
| #include "net/base/net_util.h"
|
| #include "url/gurl.h"
|
| -#include "url/url_util.h"
|
|
|
| // static
|
| const size_t AutocompleteProvider::kMaxMatches = 3;
|
| @@ -122,16 +121,6 @@
|
| Stop(false);
|
| }
|
|
|
| -// static
|
| -bool AutocompleteProvider::HasHTTPScheme(const string16& input) {
|
| - std::string utf8_input(UTF16ToUTF8(input));
|
| - url_parse::Component scheme;
|
| - if (url_util::FindAndCompareScheme(utf8_input, content::kViewSourceScheme,
|
| - &scheme))
|
| - utf8_input.erase(0, scheme.end() + 1);
|
| - return url_util::FindAndCompareScheme(utf8_input, content::kHttpScheme, NULL);
|
| -}
|
| -
|
| void AutocompleteProvider::UpdateStarredStateOfMatches() {
|
| if (matches_.empty())
|
| return;
|
|
|