summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_download_unittest.cc
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-15 07:00:36 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-15 07:00:36 +0000
commit76b6d1d53ed9d8e6392b914f7759a5f80daaa9d5 (patch)
tree1858a65bdbfddba9a4a83135899d312fcaf06869 /chrome/browser/autofill/autofill_download_unittest.cc
parentdc7b094a338c6c521f918f478e993f0f74bbea0d (diff)
downloadchromium_src-76b6d1d53ed9d8e6392b914f7759a5f80daaa9d5.zip
chromium_src-76b6d1d53ed9d8e6392b914f7759a5f80daaa9d5.tar.gz
chromium_src-76b6d1d53ed9d8e6392b914f7759a5f80daaa9d5.tar.bz2
Clean up AutofillDownloadManager; don't use "heuristics" to refer to non-client predictions.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_download_unittest.cc')
-rw-r--r--chrome/browser/autofill/autofill_download_unittest.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/autofill/autofill_download_unittest.cc b/chrome/browser/autofill/autofill_download_unittest.cc
index c616249..f62383f0 100644
--- a/chrome/browser/autofill/autofill_download_unittest.cc
+++ b/chrome/browser/autofill/autofill_download_unittest.cc
@@ -68,19 +68,18 @@ class AutofillDownloadTestHelper : public AutofillDownloadManager::Observer {
}
// AutofillDownloadManager::Observer overridables:
- virtual void OnLoadedAutofillHeuristics(
- const std::string& heuristic_xml) {
+ virtual void OnLoadedServerPredictions(const std::string& response_xml) {
ResponseData response;
- response.response = heuristic_xml;
+ response.response = response_xml;
response.type_of_response = QUERY_SUCCESSFULL;
responses_.push_back(response);
};
- virtual void OnUploadedAutofillHeuristics(const std::string& form_signature) {
+ virtual void OnUploadedPossibleFieldTypes() {
ResponseData response;
response.type_of_response = UPLOAD_SUCCESSFULL;
responses_.push_back(response);
}
- virtual void OnHeuristicsRequestError(
+ virtual void OnServerRequestError(
const std::string& form_signature,
AutofillDownloadManager::AutofillRequestType request_type,
int http_error) {