summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/form_structure.h
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 20:21:42 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 20:21:42 +0000
commit679782384a0cb99c6a496bf0acbb7fee246ec5be (patch)
treee21c8328c78ebba1851f5b104073d94e7429f4e9 /chrome/browser/autofill/form_structure.h
parent58a1a3b622f6cdc7e62aa5106164d6fe45f9891d (diff)
downloadchromium_src-679782384a0cb99c6a496bf0acbb7fee246ec5be.zip
chromium_src-679782384a0cb99c6a496bf0acbb7fee246ec5be.tar.gz
chromium_src-679782384a0cb99c6a496bf0acbb7fee246ec5be.tar.bz2
Revert 89716 - Add a debugging flag to annotate web forms with their Autofill field type predictions.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7187029 TBR=isherman@chromium.org Review URL: http://codereview.chromium.org/7204037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89720 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/form_structure.h')
-rw-r--r--chrome/browser/autofill/form_structure.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h
index d94be92..0d8ddd7 100644
--- a/chrome/browser/autofill/form_structure.h
+++ b/chrome/browser/autofill/form_structure.h
@@ -15,7 +15,7 @@
#include "chrome/browser/autofill/autofill_type.h"
#include "chrome/browser/autofill/field_types.h"
#include "googleurl/src/gurl.h"
-
+#include "webkit/glue/form_data.h"
enum RequestMethod {
GET,
@@ -34,11 +34,6 @@ namespace buzz {
class XmlElement;
}
-namespace webkit_glue {
-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 {
@@ -70,12 +65,6 @@ class FormStructure {
const std::vector<FormStructure*>& forms,
const AutofillMetrics& metric_logger);
- // Fills |forms| with the details from the given |form_structures| and their
- // fields' predicted types.
- static void GetFieldTypePredictions(
- const std::vector<FormStructure*>& form_structures,
- std::vector<webkit_glue::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.
std::string FormSignature() const;