summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/profile_writer.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-14 22:18:25 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-14 22:18:25 +0000
commit6235541680600aecf07e7e85a63dc0843f1b7084 (patch)
tree76304d95b2638e9aa3eebfd5db6b2f2198e4da5d /chrome/browser/importer/profile_writer.cc
parentfd4aafc80ad6b4fc7dcbbe36dfec3b7e1bcbd707 (diff)
downloadchromium_src-6235541680600aecf07e7e85a63dc0843f1b7084.zip
chromium_src-6235541680600aecf07e7e85a63dc0843f1b7084.tar.gz
chromium_src-6235541680600aecf07e7e85a63dc0843f1b7084.tar.bz2
Revert 71485 - Remove wstring from TemplateURL and friends.
BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6322001 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6291003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71500 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/profile_writer.cc')
-rw-r--r--chrome/browser/importer/profile_writer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc
index e6eefdf..00e8dcf 100644
--- a/chrome/browser/importer/profile_writer.cc
+++ b/chrome/browser/importer/profile_writer.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -181,8 +181,8 @@ static std::string BuildHostPathKey(const TemplateURL* t_url,
if (t_url->url()->SupportsReplacement()) {
return HostPathKeyForURL(GURL(
t_url->url()->ReplaceSearchTerms(
- *t_url, ASCIIToUTF16("random string"),
- TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())));
+ *t_url, L"random string",
+ TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, std::wstring())));
}
}
return std::string();