| 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 #include "chrome/common/form_data.h" | 5 #include "components/autofill/common/form_data.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 | 8 |
| 9 FormData::FormData() | 9 FormData::FormData() |
| 10 : user_submitted(false) { | 10 : user_submitted(false) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 FormData::FormData(const FormData& data) | 13 FormData::FormData(const FormData& data) |
| 14 : name(data.name), | 14 : name(data.name), |
| 15 method(data.method), | 15 method(data.method), |
| (...skipping 13 matching lines...) Expand all Loading... |
| 29 origin == form.origin && | 29 origin == form.origin && |
| 30 action == form.action && | 30 action == form.action && |
| 31 user_submitted == form.user_submitted && | 31 user_submitted == form.user_submitted && |
| 32 fields == form.fields && | 32 fields == form.fields && |
| 33 ssl_status.Equals(form.ssl_status)); | 33 ssl_status.Equals(form.ssl_status)); |
| 34 } | 34 } |
| 35 | 35 |
| 36 bool FormData::operator!=(const FormData& form) const { | 36 bool FormData::operator!=(const FormData& form) const { |
| 37 return !operator==(form); | 37 return !operator==(form); |
| 38 } | 38 } |
| OLD | NEW |