| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module autofill.mojom; | 5 module autofill.mojom; |
| 6 | 6 |
| 7 import "mojo/common/common_custom_types.mojom"; | 7 import "mojo/common/common_custom_types.mojom"; |
| 8 import "url/mojo/origin.mojom"; | 8 import "url/mojo/origin.mojom"; |
| 9 import "url/mojo/url.mojom"; | 9 import "url/mojo/url.mojom"; |
| 10 | 10 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // Keys for std::map<UsernamesCollectionKey, std::vector<base::string16>> | 143 // Keys for std::map<UsernamesCollectionKey, std::vector<base::string16>> |
| 144 array<UsernamesCollectionKey> other_possible_usernames_keys; | 144 array<UsernamesCollectionKey> other_possible_usernames_keys; |
| 145 // Values for std::map<UsernamesCollectionKey, std::vector<base::string16>> | 145 // Values for std::map<UsernamesCollectionKey, std::vector<base::string16>> |
| 146 array<array<string>> other_possible_usernames_values; | 146 array<array<string>> other_possible_usernames_values; |
| 147 bool wait_for_username; | 147 bool wait_for_username; |
| 148 bool is_possible_change_password_form; | 148 bool is_possible_change_password_form; |
| 149 }; | 149 }; |
| 150 | 150 |
| 151 // autofill::PasswordFormGenerationData | 151 // autofill::PasswordFormGenerationData |
| 152 struct PasswordFormGenerationData { | 152 struct PasswordFormGenerationData { |
| 153 string name; | 153 uint64 form_signature; |
| 154 url.mojom.Url action; | 154 uint32 field_signature; |
| 155 FormFieldData generation_field; | |
| 156 }; | 155 }; |
| 157 | 156 |
| 158 // autofill::PasswordForm | 157 // autofill::PasswordForm |
| 159 struct PasswordForm { | 158 struct PasswordForm { |
| 160 PasswordFormScheme scheme; | 159 PasswordFormScheme scheme; |
| 161 string signon_realm; | 160 string signon_realm; |
| 162 url.mojom.Url origin_with_path; | 161 url.mojom.Url origin_with_path; |
| 163 url.mojom.Url action; | 162 url.mojom.Url action; |
| 164 string affiliated_web_realm; | 163 string affiliated_web_realm; |
| 165 string submit_element; | 164 string submit_element; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 array<PasswordFormFieldPredictionType> values; | 200 array<PasswordFormFieldPredictionType> values; |
| 202 }; | 201 }; |
| 203 | 202 |
| 204 // TODO(leonhsl): Use map directly after http://crbug.com/628104 solved. | 203 // TODO(leonhsl): Use map directly after http://crbug.com/628104 solved. |
| 205 // autofill::FormsPredictionsMap | 204 // autofill::FormsPredictionsMap |
| 206 // --> std::map<FormData, PasswordFormFieldPredictionMap> | 205 // --> std::map<FormData, PasswordFormFieldPredictionMap> |
| 207 struct FormsPredictionsMap { | 206 struct FormsPredictionsMap { |
| 208 array<FormData> keys; | 207 array<FormData> keys; |
| 209 array<PasswordFormFieldPredictionMap> values; | 208 array<PasswordFormFieldPredictionMap> values; |
| 210 }; | 209 }; |
| OLD | NEW |