summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_data.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 21:23:48 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 21:23:48 +0000
commit04bf3ad5acb81f9e932449dabd19708826774898 (patch)
tree956fda2d966a3f45ade61e61dbf1cf7ed65b0f63 /webkit/glue/form_data.h
parent8708aa43fa34e36056f06d970dc7f1a5ebc48a87 (diff)
downloadchromium_src-04bf3ad5acb81f9e932449dabd19708826774898.zip
chromium_src-04bf3ad5acb81f9e932449dabd19708826774898.tar.gz
chromium_src-04bf3ad5acb81f9e932449dabd19708826774898.tar.bz2
FBTF: Move code from headers into cc files.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3219002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/form_data.h')
-rw-r--r--webkit/glue/form_data.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/webkit/glue/form_data.h b/webkit/glue/form_data.h
index 1556f24..f0011c7 100644
--- a/webkit/glue/form_data.h
+++ b/webkit/glue/form_data.h
@@ -28,17 +28,12 @@ struct FormData {
// A vector of all the input fields in the form.
std::vector<FormField> fields;
- FormData() : user_submitted(false) {}
+ FormData();
+ FormData(const FormData& data);
+ ~FormData();
// Used by FormStructureTest.
- inline bool operator==(const FormData& form) const {
- return (name == form.name &&
- StringToLowerASCII(method) == StringToLowerASCII(form.method) &&
- origin == form.origin &&
- action == form.action &&
- user_submitted == form.user_submitted &&
- fields == form.fields);
- }
+ bool operator==(const FormData& form) const;
};
} // namespace webkit_glue