Index: chrome/browser/autocomplete/autocomplete_match.h |
diff --git a/chrome/browser/autocomplete/autocomplete_match.h b/chrome/browser/autocomplete/autocomplete_match.h |
index 38108dda8e0226647be53b4a0a01f6cfbdb43f8a..ad91c259aea93a8cc4a097d81273d93e4333e45a 100644 |
--- a/chrome/browser/autocomplete/autocomplete_match.h |
+++ b/chrome/browser/autocomplete/autocomplete_match.h |
@@ -117,8 +117,8 @@ struct AutocompleteMatch { |
// Fills in the classifications for |text|, using |style| as the base style |
// and marking the first instance of |find_text| as a match. (This match |
// will also not be dimmed, if |style| has DIM set.) |
- static void ClassifyMatchInString(const string16& find_text, |
- const string16& text, |
+ static void ClassifyMatchInString(const base::string16& find_text, |
+ const base::string16& text, |
int style, |
ACMatchClassifications* classifications); |
@@ -156,7 +156,7 @@ struct AutocompleteMatch { |
// Removes invalid characters from |text|. Should be called on strings coming |
// from external sources (such as extensions) before assigning to |contents| |
// or |description|. |
- static string16 SanitizeString(const string16& text); |
+ static base::string16 SanitizeString(const base::string16& text); |
// Convenience function to check if |type| is a search (as opposed to a URL or |
// an extension). |
@@ -187,7 +187,7 @@ struct AutocompleteMatch { |
// represent searches using the default search engine. See also |
// GetSubstitutingExplicitlyInvokedKeyword(). |
void GetKeywordUIState(Profile* profile, |
- string16* keyword, |
+ base::string16* keyword, |
bool* is_keyword_hint) const; |
// Returns |keyword|, but only if it represents a substituting keyword that |
@@ -196,7 +196,8 @@ struct AutocompleteMatch { |
// invoke its keyword), this returns the empty string. The result is that |
// this function returns a non-empty string in the same cases as when the UI |
// should show up as being "in keyword mode". |
- string16 GetSubstitutingExplicitlyInvokedKeyword(Profile* profile) const; |
+ base::string16 GetSubstitutingExplicitlyInvokedKeyword( |
+ Profile* profile) const; |
// Returns the TemplateURL associated with this match. This may be NULL if |
// the match has no keyword OR if the keyword no longer corresponds to a valid |
@@ -254,11 +255,11 @@ struct AutocompleteMatch { |
// This string is loaded into the location bar when the item is selected |
// by pressing the arrow keys. This may be different than a URL, for example, |
// for search suggestions, this would just be the search terms. |
- string16 fill_into_edit; |
+ base::string16 fill_into_edit; |
// The inline autocompletion to display after the user's typing in the |
// omnibox, if this match becomes the default match. It may be empty. |
- string16 inline_autocompletion; |
+ base::string16 inline_autocompletion; |
// If false, the omnibox should prevent this match from being the |
// default match. Providers should set this to true only if the |
@@ -280,11 +281,11 @@ struct AutocompleteMatch { |
GURL stripped_destination_url; |
// The main text displayed in the address bar dropdown. |
- string16 contents; |
+ base::string16 contents; |
ACMatchClassifications contents_class; |
// Additional helper text for each entry, such as a title or description. |
- string16 description; |
+ base::string16 description; |
ACMatchClassifications description_class; |
// The transition type to use when the user opens this match. By default |
@@ -315,7 +316,7 @@ struct AutocompleteMatch { |
// modified while the AutocompleteMatch is alive. This means anyone who |
// accesses it must perform any necessary sanity checks before blindly using |
// it! |
- string16 keyword; |
+ base::string16 keyword; |
// True if the user has starred the destination URL. |
bool starred; |
@@ -342,7 +343,7 @@ struct AutocompleteMatch { |
// Checks one text/classifications pair for valid values. |
void ValidateClassifications( |
- const string16& text, |
+ const base::string16& text, |
const ACMatchClassifications& classifications) const; |
#endif |
}; |