| Index: chrome/browser/autocomplete/url_prefix.cc
|
| diff --git a/chrome/browser/autocomplete/url_prefix.cc b/chrome/browser/autocomplete/url_prefix.cc
|
| index 9174bd561cee68f36409dc57d428bd88cb42e9cb..d48ee35dc6b9e0d3bf583c1974b7179396b6f335 100644
|
| --- a/chrome/browser/autocomplete/url_prefix.cc
|
| +++ b/chrome/browser/autocomplete/url_prefix.cc
|
| @@ -8,7 +8,7 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
|
|
| -URLPrefix::URLPrefix(const string16& prefix, size_t num_components)
|
| +URLPrefix::URLPrefix(const base::string16& prefix, size_t num_components)
|
| : prefix(prefix),
|
| num_components(num_components) {
|
| }
|
| @@ -30,7 +30,7 @@ const URLPrefixes& URLPrefix::GetURLPrefixes() {
|
| }
|
|
|
| // static
|
| -bool URLPrefix::IsURLPrefix(const string16& prefix) {
|
| +bool URLPrefix::IsURLPrefix(const base::string16& prefix) {
|
| const URLPrefixes& list = GetURLPrefixes();
|
| for (URLPrefixes::const_iterator i = list.begin(); i != list.end(); ++i)
|
| if (i->prefix == prefix)
|
| @@ -39,8 +39,8 @@ bool URLPrefix::IsURLPrefix(const string16& prefix) {
|
| }
|
|
|
| // static
|
| -const URLPrefix* URLPrefix::BestURLPrefix(const string16& text,
|
| - const string16& prefix_suffix) {
|
| +const URLPrefix* URLPrefix::BestURLPrefix(const base::string16& text,
|
| + const base::string16& prefix_suffix) {
|
| const URLPrefixes& list = GetURLPrefixes();
|
| for (URLPrefixes::const_iterator i = list.begin(); i != list.end(); ++i)
|
| if (StartsWith(text, i->prefix + prefix_suffix, false))
|
|
|