Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: chrome/browser/autofill/form_structure.h

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/credit_card_field_unittest.cc ('k') | chrome/browser/autofill/form_structure.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/form_structure.h
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h
index db38b9510b8deca69a119c46bcf6fa47982b847b..0f8b3ce3b7acd74022b1a0fa45951e738756b669 100644
--- a/chrome/browser/autofill/form_structure.h
+++ b/chrome/browser/autofill/form_structure.h
@@ -38,16 +38,18 @@ namespace buzz {
class XmlElement;
}
-namespace webkit_glue {
+namespace webkit {
+namespace forms {
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_glue::FormData& form);
+ explicit FormStructure(const webkit::forms::FormData& form);
virtual ~FormStructure();
// Runs several heuristics against the form fields to determine their possible
@@ -78,7 +80,7 @@ class FormStructure {
// fields' predicted types.
static void GetFieldTypePredictions(
const std::vector<FormStructure*>& form_structures,
- std::vector<webkit_glue::FormDataPredictions>* forms);
+ std::vector<webkit::forms::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.
@@ -139,8 +141,8 @@ class FormStructure {
virtual std::string server_experiment_id() const;
- bool operator==(const webkit_glue::FormData& form) const;
- bool operator!=(const webkit_glue::FormData& form) const;
+ bool operator==(const webkit::forms::FormData& form) const;
+ bool operator!=(const webkit::forms::FormData& form) const;
private:
friend class FormStructureTest;
« no previous file with comments | « chrome/browser/autofill/credit_card_field_unittest.cc ('k') | chrome/browser/autofill/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698