diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 07:00:36 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 07:00:36 +0000 |
commit | 76b6d1d53ed9d8e6392b914f7759a5f80daaa9d5 (patch) | |
tree | 1858a65bdbfddba9a4a83135899d312fcaf06869 /chrome/browser/autofill/autofill_download_unittest.cc | |
parent | dc7b094a338c6c521f918f478e993f0f74bbea0d (diff) | |
download | chromium_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.cc | 9 |
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) { |