Index: components/payments/core/payment_request_data_util.h |
diff --git a/components/payments/core/payment_request_data_util.h b/components/payments/core/payment_request_data_util.h |
index f3120c8c3d6149db344cc8572c92ff451ca68112..e69807fb8c237d22e44851bd0b6d8f99b03c05d2 100644 |
--- a/components/payments/core/payment_request_data_util.h |
+++ b/components/payments/core/payment_request_data_util.h |
@@ -44,11 +44,10 @@ BasicCardResponse GetBasicCardResponseFromAutofillCreditCard( |
// |out_basic_card_supported_networks| is a subset of |out_supported_networks| |
// that includes all networks that were specified as part of "basic-card". This |
// is used to know whether to return the card network name (e.g., "visa") or |
-// "basic-card" in the PaymentResponse. Returns true on success, false on |
-// invalid data specified. |method_data.supported_networks| is expected to only |
-// contain basic-card card network names (the list is at |
+// "basic-card" in the PaymentResponse. |method_data.supported_networks| is |
+// expected to only contain basic-card card network names (the list is at |
// https://www.w3.org/Payments/card-network-ids). |
-bool ParseBasicCardSupportedNetworks( |
+void ParseBasicCardSupportedNetworks( |
const std::vector<PaymentMethodData>& method_data, |
std::vector<std::string>* out_supported_networks, |
std::set<std::string>* out_basic_card_supported_networks); |