| Index: chrome/browser/ui/autofill/autofill_dialog_common.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.cc b/chrome/browser/ui/autofill/autofill_dialog_common.cc
|
| index a6b9b1cb84064bcbc79561f6f2b0755099a44252..0c4ef13ecee695e701b7023c790066d4be274e65 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_common.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_common.cc
|
| @@ -276,5 +276,13 @@ base::string16 GetHardcodedValueForType(ServerFieldType type) {
|
| return base::string16();
|
| }
|
|
|
| +std::vector<ServerFieldType> TypesFromInputs(const DetailInputs& inputs) {
|
| + std::vector<ServerFieldType> types;
|
| + for (size_t i = 0; i < inputs.size(); ++i) {
|
| + types.push_back(inputs[i].type);
|
| + }
|
| + return types;
|
| +}
|
| +
|
| } // namespace common
|
| } // namespace autofill
|
|
|