| 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 COMPONENTS_AUTOFILL_COMMON_FORM_DATA_H__ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_FORM_DATA_H__ |
| 6 #define COMPONENTS_AUTOFILL_COMMON_FORM_DATA_H__ | 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_FORM_DATA_H__ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "components/autofill/common/form_field_data.h" | 11 #include "components/autofill/core/common/form_field_data.h" |
| 12 #include "content/public/common/ssl_status.h" | 12 #include "content/public/common/ssl_status.h" |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 | 14 |
| 15 namespace autofill { | 15 namespace autofill { |
| 16 | 16 |
| 17 // Holds information about a form to be filled and/or submitted. | 17 // Holds information about a form to be filled and/or submitted. |
| 18 struct FormData { | 18 struct FormData { |
| 19 FormData(); | 19 FormData(); |
| 20 FormData(const FormData& data); | 20 FormData(const FormData& data); |
| 21 ~FormData(); | 21 ~FormData(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 35 // true if this form was submitted by a user gesture and not javascript. | 35 // true if this form was submitted by a user gesture and not javascript. |
| 36 bool user_submitted; | 36 bool user_submitted; |
| 37 // A vector of all the input fields in the form. | 37 // A vector of all the input fields in the form. |
| 38 std::vector<FormFieldData> fields; | 38 std::vector<FormFieldData> fields; |
| 39 // SSL status of the frame contatining the form. | 39 // SSL status of the frame contatining the form. |
| 40 content::SSLStatus ssl_status; | 40 content::SSLStatus ssl_status; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace autofill | 43 } // namespace autofill |
| 44 | 44 |
| 45 #endif // COMPONENTS_AUTOFILL_COMMON_FORM_DATA_H__ | 45 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_FORM_DATA_H__ |
| OLD | NEW |