| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_FORM_DATA_H__ | 5 #ifndef CHROME_COMMON_FORM_DATA_H__ |
| 6 #define CHROME_COMMON_FORM_DATA_H__ | 6 #define CHROME_COMMON_FORM_DATA_H__ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 bool user_submitted; | 25 bool user_submitted; |
| 26 // A vector of all the input fields in the form. | 26 // A vector of all the input fields in the form. |
| 27 std::vector<FormFieldData> fields; | 27 std::vector<FormFieldData> fields; |
| 28 | 28 |
| 29 FormData(); | 29 FormData(); |
| 30 FormData(const FormData& data); | 30 FormData(const FormData& data); |
| 31 ~FormData(); | 31 ~FormData(); |
| 32 | 32 |
| 33 // Used by FormStructureTest. | 33 // Used by FormStructureTest. |
| 34 bool operator==(const FormData& form) const; | 34 bool operator==(const FormData& form) const; |
| 35 bool operator!=(const FormData& form) const; |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 #endif // CHROME_COMMON_FORM_DATA_H__ | 38 #endif // CHROME_COMMON_FORM_DATA_H__ |
| OLD | NEW |