| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_AUTOFILL_DATA_MODEL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_MODEL_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DATA_MODEL_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_MODEL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "components/autofill/browser/field_types.h" | 10 #include "components/autofill/core/browser/field_types.h" |
| 11 #include "components/autofill/browser/form_group.h" | 11 #include "components/autofill/core/browser/form_group.h" |
| 12 | 12 |
| 13 namespace autofill { | 13 namespace autofill { |
| 14 | 14 |
| 15 class AutofillField; | 15 class AutofillField; |
| 16 struct FormFieldData; | 16 struct FormFieldData; |
| 17 | 17 |
| 18 // This class is an interface for the primary data models that back Autofill. | 18 // This class is an interface for the primary data models that back Autofill. |
| 19 // The information in objects of this class is managed by the | 19 // The information in objects of this class is managed by the |
| 20 // PersonalDataManager. | 20 // PersonalDataManager. |
| 21 class AutofillDataModel : public FormGroup { | 21 class AutofillDataModel : public FormGroup { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // (a) a web URL for the domain of the form from which the data was | 60 // (a) a web URL for the domain of the form from which the data was |
| 61 // automatically aggregated, e.g. https://www.example.com/register, | 61 // automatically aggregated, e.g. https://www.example.com/register, |
| 62 // (b) some other non-empty string, which cannot be interpreted as a web | 62 // (b) some other non-empty string, which cannot be interpreted as a web |
| 63 // URL, identifying the origin for non-aggregated data, or | 63 // URL, identifying the origin for non-aggregated data, or |
| 64 // (c) an empty string, indicating that the origin for this data is unknown. | 64 // (c) an empty string, indicating that the origin for this data is unknown. |
| 65 std::string origin_; | 65 std::string origin_; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace autofill | 68 } // namespace autofill |
| 69 | 69 |
| 70 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DATA_MODEL_H_ | 70 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_MODEL_H_ |
| OLD | NEW |