summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/history_provider_util.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 15:23:36 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 15:23:36 +0000
commita2fedb1e1311bc6acffabebc03e8dbca761b385e (patch)
tree6c7e7970bb476b8ac4ec402c721e83fb3f425db4 /chrome/browser/autocomplete/history_provider_util.h
parentf5b0d12e8a294f748e2800dda141cbb664afb111 (diff)
downloadchromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.zip
chromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.tar.gz
chromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.tar.bz2
Remove wstring from autocomplete.
Recommit of r72380. BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6306011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/history_provider_util.h')
-rw-r--r--chrome/browser/autocomplete/history_provider_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/history_provider_util.h b/chrome/browser/autocomplete/history_provider_util.h
index 5f72983..aa4b444 100644
--- a/chrome/browser/autocomplete/history_provider_util.h
+++ b/chrome/browser/autocomplete/history_provider_util.h
@@ -57,11 +57,11 @@ struct HistoryMatch {
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"