Index: chrome/browser/autofill/autofill_manager.h |
=================================================================== |
--- chrome/browser/autofill/autofill_manager.h (revision 35750) |
+++ chrome/browser/autofill/autofill_manager.h (working copy) |
@@ -17,6 +17,7 @@ |
class AutoFillInfoBarDelegate; |
class FormStructure; |
class PersonalDataManager; |
+class PrefService; |
class TabContents; |
// Manages saving and restoring the user's personal information entered into web |
@@ -26,6 +27,9 @@ |
explicit AutoFillManager(TabContents* tab_contents); |
virtual ~AutoFillManager(); |
+ // Registers our Enable/Disable AutoFill pref. |
+ static void RegisterUserPrefs(PrefService* prefs); |
+ |
// RenderViewHostDelegate::AutoFill implementation. |
virtual void FormFieldValuesSubmitted( |
const webkit_glue::FormFieldValues& form); |
@@ -34,6 +38,12 @@ |
// types. |
void DeterminePossibleFieldTypes(FormStructure* form_structure); |
+ // Handles the form data submitted by the user. |
+ void HandleSubmit(); |
+ |
+ // Called by the AutoFillInfoBarDelegate when the user accepts the infobar. |
+ void OnInfoBarAccepted(); |
+ |
// Saves the form data to the web database. |
void SaveFormData(); |