diff options
author | georgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-29 05:50:37 +0000 |
---|---|---|
committer | georgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-29 05:50:37 +0000 |
commit | 61d96bfa949eff61e5dade47b2d84161cceeb904 (patch) | |
tree | 973ed35baa90f1a75ef86ddadb1c8b6bbf7518f7 /chrome/browser/autofill/autofill_manager.h | |
parent | a28dbefaf20295812f0ea3f450c4184f43411d05 (diff) | |
download | chromium_src-61d96bfa949eff61e5dade47b2d84161cceeb904.zip chromium_src-61d96bfa949eff61e5dade47b2d84161cceeb904.tar.gz chromium_src-61d96bfa949eff61e5dade47b2d84161cceeb904.tar.bz2 |
Reverted back change #1337001, fixing the unit tests in chromium builds:
Second part of the integration with autofill servers.
1. Corrected signature calculations.
2. Added unit-test
3. Fixed numerous issues, including multiple forms on the page, etc.
BUG=none
TEST=should work correctly with more servers.
Review URL: http://codereview.chromium.org/1516001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_manager.h')
-rw-r--r-- | chrome/browser/autofill/autofill_manager.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h index f56a5f2..d89d5da 100644 --- a/chrome/browser/autofill/autofill_manager.h +++ b/chrome/browser/autofill/autofill_manager.h @@ -77,11 +77,14 @@ class AutoFillManager : public RenderViewHostDelegate::AutoFill, virtual void Reset(); // AutoFillDownloadManager::Observer implementation: - virtual void OnLoadedAutoFillHeuristics(const std::string& form_signature, - const std::string& heuristic_xml); + virtual void OnLoadedAutoFillHeuristics( + const std::vector<std::string>& form_signatures, + const std::string& heuristic_xml); virtual void OnUploadedAutoFillHeuristics(const std::string& form_signature); - virtual void OnHeuristicsRequestError(const std::string& form_signature, - int http_error); + virtual void OnHeuristicsRequestError( + const std::string& form_signature, + AutoFillDownloadManager::AutoFillRequestType request_type, + int http_error); // Uses heuristics and existing personal data to determine the possible field // types. |