| Index: chrome/browser/autofill/form_structure.h
|
| diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h
|
| index 68223a830f03c27f0e0342843b8b87d696d738cc..e513f623b12aa405b7ee3ace1a532c9a177877d0 100644
|
| --- a/chrome/browser/autofill/form_structure.h
|
| +++ b/chrome/browser/autofill/form_structure.h
|
| @@ -37,18 +37,16 @@ namespace buzz {
|
| class XmlElement;
|
| }
|
|
|
| -namespace webkit {
|
| -namespace forms {
|
| +namespace content {
|
| struct FormData;
|
| struct FormDataPredictions;
|
| }
|
| -}
|
|
|
| // FormStructure stores a single HTML form together with the values entered
|
| // in the fields along with additional information needed by Autofill.
|
| class FormStructure {
|
| public:
|
| - explicit FormStructure(const webkit::forms::FormData& form);
|
| + explicit FormStructure(const content::FormData& form);
|
| virtual ~FormStructure();
|
|
|
| // Runs several heuristics against the form fields to determine their possible
|
| @@ -79,7 +77,7 @@ class FormStructure {
|
| // fields' predicted types.
|
| static void GetFieldTypePredictions(
|
| const std::vector<FormStructure*>& form_structures,
|
| - std::vector<webkit::forms::FormDataPredictions>* forms);
|
| + std::vector<content::FormDataPredictions>* forms);
|
|
|
| // The unique signature for this form, composed of the target url domain,
|
| // the form name, and the form field names in a 64-bit hash.
|
| @@ -140,8 +138,8 @@ class FormStructure {
|
|
|
| virtual std::string server_experiment_id() const;
|
|
|
| - bool operator==(const webkit::forms::FormData& form) const;
|
| - bool operator!=(const webkit::forms::FormData& form) const;
|
| + bool operator==(const content::FormData& form) const;
|
| + bool operator!=(const content::FormData& form) const;
|
|
|
| private:
|
| friend class FormStructureTest;
|
|
|