diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 01:50:56 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 01:50:56 +0000 |
commit | bb8c4fa05af6447e47facd049ed14ec9bb74d22d (patch) | |
tree | 00b6474c9d5b684dab75b43ba153a816cf08833d /chrome/browser/autofill/form_structure.h | |
parent | 88b9db7d713a9e156fa66694844c4d98ee48d875 (diff) | |
download | chromium_src-bb8c4fa05af6447e47facd049ed14ec9bb74d22d.zip chromium_src-bb8c4fa05af6447e47facd049ed14ec9bb74d22d.tar.gz chromium_src-bb8c4fa05af6447e47facd049ed14ec9bb74d22d.tar.bz2 |
Add autofill metrics to dig into the failure case.
BUG=none
TEST=unit_tests --gtest_filter=AutoFillMetricsTest.QualityMetricsForFailure
Review URL: http://codereview.chromium.org/5963004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/form_structure.h')
-rw-r--r-- | chrome/browser/autofill/form_structure.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h index ad0c411..1c5e7af 100644 --- a/chrome/browser/autofill/form_structure.h +++ b/chrome/browser/autofill/form_structure.h @@ -38,7 +38,7 @@ class AutoFillMetrics; class FormStructure { public: explicit FormStructure(const webkit_glue::FormData& form); - ~FormStructure(); + virtual ~FormStructure(); // Encodes the XML upload request from this FormStructure. bool EncodeUploadRequest(bool auto_fill_used, @@ -106,6 +106,10 @@ class FormStructure { bool operator==(const webkit_glue::FormData& form) const; bool operator!=(const webkit_glue::FormData& form) const; + protected: + // For tests. + ScopedVector<AutoFillField>* fields() { return &fields_; } + private: enum EncodeRequestType { QUERY, |