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

Unified Diff: chrome/browser/autocomplete/history_provider_util.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/history_provider_util.h
===================================================================
--- chrome/browser/autocomplete/history_provider_util.h (revision 72388)
+++ chrome/browser/autocomplete/history_provider_util.h (working copy)
@@ -57,11 +57,11 @@
typedef std::deque<HistoryMatch> HistoryMatches;
struct Prefix {
- Prefix(const std::wstring& prefix, int num_components)
+ Prefix(const string16& prefix, int num_components)
: prefix(prefix),
num_components(num_components) {}
- std::wstring prefix;
+ string16 prefix;
// The number of "components" in the prefix. The scheme is a component,
// and the initial "www." or "ftp." is a component. So "http://foo.com"

Powered by Google App Engine
This is Rietveld 408576698