diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 19:29:58 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 19:29:58 +0000 |
commit | c2ad1e38df308c29d87f949fd9117341bbd6a96f (patch) | |
tree | 406cd61303883e99f63ec44b8cf4435e37b3e353 /chrome/browser/autofill/autofill_manager.h | |
parent | 667d357e93f2dcc8afbbac71051dfedcc91daba3 (diff) | |
download | chromium_src-c2ad1e38df308c29d87f949fd9117341bbd6a96f.zip chromium_src-c2ad1e38df308c29d87f949fd9117341bbd6a96f.tar.gz chromium_src-c2ad1e38df308c29d87f949fd9117341bbd6a96f.tar.bz2 |
Implement FormStructure and an initial method, EncodeUploadRequest. This also adds SHA1HashString, a utility method to get the SHA-1 hash of an input string, with appropriate unit tests.
BUG=18201
TEST=none
Review URL: http://codereview.chromium.org/355003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_manager.h')
-rw-r--r-- | chrome/browser/autofill/autofill_manager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h index 6e09e6f..521d48b 100644 --- a/chrome/browser/autofill/autofill_manager.h +++ b/chrome/browser/autofill/autofill_manager.h @@ -13,6 +13,7 @@ class FormFieldValues; } class AutoFillInfoBarDelegate; +class FormStructure; class TabContents; // Manages saving and restoring the user's personal information entered into web @@ -29,6 +30,9 @@ class AutoFillManager : public RenderViewHostDelegate::AutoFill { // Saves the form data to the web database. void SaveFormData(); + // Uploads the form data to the autofill server. + void UploadFormData(); + // Resets the stored form data. void Reset(); @@ -37,7 +41,7 @@ class AutoFillManager : public RenderViewHostDelegate::AutoFill { TabContents* tab_contents_; // Our copy of the form data. - scoped_ptr<webkit_glue::FormFieldValues> form_data_; + scoped_ptr<FormStructure> form_structure_; // The infobar asking for permission to store form information. scoped_ptr<AutoFillInfoBarDelegate> infobar_; |