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

Unified Diff: chrome/browser/autocomplete/autocomplete_popup_model.h

Issue 6306011: Remove wstring from autocomplete. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months 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
Index: chrome/browser/autocomplete/autocomplete_popup_model.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_popup_model.h (revision 72388)
+++ chrome/browser/autocomplete/autocomplete_popup_model.h (working copy)
@@ -30,8 +30,8 @@
// Starts a new query running. These parameters are passed through to the
// autocomplete controller; see comments there.
- void StartAutocomplete(const std::wstring& text,
- const std::wstring& desired_tld,
+ void StartAutocomplete(const string16& text,
+ const string16& desired_tld,
bool prevent_inline_autocomplete,
bool prefer_keyword,
bool allow_exact_keyword_match);
@@ -98,11 +98,11 @@
// possibly to the empty string], and you cannot have both a selected keyword
// and a keyword hint simultaneously.)
bool GetKeywordForMatch(const AutocompleteMatch& match,
- std::wstring* keyword) const;
+ string16* keyword) const;
// Calls through to SearchProvider::FinalizeInstantQuery.
- void FinalizeInstantQuery(const std::wstring& input_text,
- const std::wstring& suggest_text);
+ void FinalizeInstantQuery(const string16& input_text,
+ const string16& suggest_text);
// Returns a pointer to a heap-allocated AutocompleteLog containing the
// current input text, selected match, and result set. The caller is

Powered by Google App Engine
This is Rietveld 408576698