summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer
diff options
context:
space:
mode:
authorbartn@google.com <bartn@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-24 07:53:04 +0000
committerbartn@google.com <bartn@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-24 07:53:04 +0000
commitbca359bee5cbd5ca3c8452539f9c28c695310d4a (patch)
tree45a9e4a6ea0d17ffdde8608ccbc9963d83592967 /chrome/browser/importer
parent908ba14fbcba14d6da3162fcafdacc8b63ed6433 (diff)
downloadchromium_src-bca359bee5cbd5ca3c8452539f9c28c695310d4a.zip
chromium_src-bca359bee5cbd5ca3c8452539f9c28c695310d4a.tar.gz
chromium_src-bca359bee5cbd5ca3c8452539f9c28c695310d4a.tar.bz2
A working implementation of AQS (Assisted Query Stats).
BUG=132667 TEST=AutocompleteProviderTest::AssistedQueryStats,AutocompleteProviderTest::UpdateAssistedQueryStats, TemplateURLTest::ReplaceAssistedQueryStats, manual testing. Review URL: https://chromiumcodereview.appspot.com/10537154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143827 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r--chrome/browser/importer/profile_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc
index 18a5201..33f43745 100644
--- a/chrome/browser/importer/profile_writer.cc
+++ b/chrome/browser/importer/profile_writer.cc
@@ -263,8 +263,8 @@ static std::string BuildHostPathKey(const TemplateURL* t_url,
if (t_url->url_ref().SupportsReplacement()) {
return HostPathKeyForURL(GURL(
- t_url->url_ref().ReplaceSearchTerms(ASCIIToUTF16("x"),
- TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())));
+ t_url->url_ref().ReplaceSearchTerms(
+ TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("x")))));
}
return std::string();
}