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

Unified Diff: chrome/browser/ui/views/location_bar/selected_keyword_view.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/ui/views/location_bar/selected_keyword_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/selected_keyword_view.h (revision 72388)
+++ chrome/browser/ui/views/location_bar/selected_keyword_view.h (working copy)
@@ -33,8 +33,8 @@
virtual void Layout();
// The current keyword, or an empty string if no keyword is displayed.
- void SetKeyword(const std::wstring& keyword);
- std::wstring keyword() const { return keyword_; }
+ void SetKeyword(const string16& keyword);
+ string16 keyword() const { return keyword_; }
void set_profile(Profile* profile) { profile_ = profile; }
@@ -42,7 +42,7 @@
// The keyword we're showing. If empty, no keyword is selected.
// NOTE: we don't cache the TemplateURL as it is possible for it to get
// deleted out from under us.
- std::wstring keyword_;
+ string16 keyword_;
// These labels are never visible. They are used to size the view. One
// label contains the complete description of the keyword, the second
Property changes on: chrome/browser/ui/views/location_bar/selected_keyword_view.h
___________________________________________________________________
Deleted: svn:mergeinfo

Powered by Google App Engine
This is Rietveld 408576698