Index: components/autofill/content/common/autofill_types_struct_traits.h |
diff --git a/components/autofill/content/common/autofill_types_struct_traits.h b/components/autofill/content/common/autofill_types_struct_traits.h |
index 7d4c03035427ec97cd496d13f90986d53dd14d98..ee3aa01693edd4681af31c8a4d160665857b7337 100644 |
--- a/components/autofill/content/common/autofill_types_struct_traits.h |
+++ b/components/autofill/content/common/autofill_types_struct_traits.h |
@@ -387,8 +387,8 @@ |
return r.username_value; |
} |
- static const std::vector<autofill::PossibleUsernamePair>& |
- other_possible_usernames(const autofill::PasswordForm& r) { |
+ static const std::vector<base::string16>& other_possible_usernames( |
+ const autofill::PasswordForm& r) { |
return r.other_possible_usernames; |
} |
@@ -557,21 +557,6 @@ |
autofill::FormsPredictionsMap* out); |
}; |
-template <> |
-struct StructTraits<autofill::mojom::PossibleUsernamePairDataView, |
- autofill::PossibleUsernamePair> { |
- static base::string16 value(const autofill::PossibleUsernamePair& r) { |
- return r.first; |
- } |
- |
- static base::string16 field_name(const autofill::PossibleUsernamePair& r) { |
- return r.second; |
- } |
- |
- static bool Read(autofill::mojom::PossibleUsernamePairDataView data, |
- autofill::PossibleUsernamePair* out); |
-}; |
- |
} // namespace mojo |
#endif // COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_TYPES_STRUCT_TRAITS_H_ |