Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4883)

Unified Diff: chrome/common/instant_types.h

Issue 105473003: Add explicit base namespace to string16 users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/importer/profile_import_process_messages.h ('k') | chrome/common/instant_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index 8ef078b8eb5e89f74d99e067d7a0f620e0aad220..4cc41db5b1f6370a3130072942ed87447aeb582d 100644
--- a/chrome/common/instant_types.h
+++ b/chrome/common/instant_types.h
@@ -22,12 +22,12 @@ typedef int InstantRestrictedID;
// server what suggestion to prefetch.
struct InstantSuggestion {
InstantSuggestion();
- InstantSuggestion(const string16& in_text,
+ InstantSuggestion(const base::string16& in_text,
const std::string& in_metadata);
~InstantSuggestion();
// Full suggested text.
- string16 text;
+ base::string16 text;
// JSON metadata from the server response which produced this suggestion.
std::string metadata;
@@ -39,20 +39,20 @@ struct InstantAutocompleteResult {
~InstantAutocompleteResult();
// The provider name, as returned by AutocompleteProvider::GetName().
- string16 provider;
+ base::string16 provider;
// The type of the result.
AutocompleteMatchType::Type type;
// The description (title), same as AutocompleteMatch::description.
- string16 description;
+ base::string16 description;
// The URL of the match, same as AutocompleteMatch::destination_url.
- string16 destination_url;
+ base::string16 destination_url;
// The search query for this match. Only set for matches coming from
// SearchProvider. Populated using AutocompleteMatch::contents.
- string16 search_query;
+ base::string16 search_query;
// The transition type to use when the user opens this match. Same as
// AutocompleteMatch::transition.
@@ -165,7 +165,7 @@ struct InstantMostVisitedItem {
// The title of the Most Visited page. May be empty, in which case the |url|
// is used as the title.
- string16 title;
+ base::string16 title;
};
// An InstantMostVisitedItem along with its assigned restricted ID.
« no previous file with comments | « chrome/common/importer/profile_import_process_messages.h ('k') | chrome/common/instant_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698