| Index: chrome/browser/autofill/autofill_manager.h
|
| ===================================================================
|
| --- chrome/browser/autofill/autofill_manager.h (revision 57242)
|
| +++ chrome/browser/autofill/autofill_manager.h (working copy)
|
| @@ -6,8 +6,9 @@
|
| #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
|
| #pragma once
|
|
|
| +#include <list>
|
| +#include <string>
|
| #include <vector>
|
| -#include <string>
|
|
|
| #include "base/scoped_ptr.h"
|
| #include "base/scoped_vector.h"
|
| @@ -34,7 +35,8 @@
|
| // Manages saving and restoring the user's personal information entered into web
|
| // forms.
|
| class AutoFillManager : public RenderViewHostDelegate::AutoFill,
|
| - public AutoFillDownloadManager::Observer {
|
| + public AutoFillDownloadManager::Observer,
|
| + public PersonalDataManager::Observer {
|
| public:
|
| explicit AutoFillManager(TabContents* tab_contents);
|
| virtual ~AutoFillManager();
|
| @@ -76,6 +78,9 @@
|
| AutoFillDownloadManager::AutoFillRequestType request_type,
|
| int http_error);
|
|
|
| + // PersonalDataManager::Observer implementation:
|
| + virtual void OnPersonalDataLoaded();
|
| +
|
| // Returns the value of the AutoFillEnabled pref.
|
| virtual bool IsAutoFillEnabled() const;
|
|
|
| @@ -202,6 +207,9 @@
|
| // Our copy of the form data.
|
| ScopedVector<FormStructure> form_structures_;
|
|
|
| + // Forms delayed for parsing, because personal data were not loaded yet.
|
| + std::list<std::vector<webkit_glue::FormData> > delayed_forms_;
|
| +
|
| // The form data the user has submitted.
|
| scoped_ptr<FormStructure> upload_form_structure_;
|
|
|
|
|