Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Unified Diff: components/autofill/core/browser/payments/payments_client.h

Issue 2358803005: Revert of Include addresses with the getdetailsforsavecard Payments RPC. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/payments/payments_client.h
diff --git a/components/autofill/core/browser/payments/payments_client.h b/components/autofill/core/browser/payments/payments_client.h
index 749e68d9c4c0d983e4a5b64427edc6594f58b702..2af8bb7b7cf8828cc3ce400cf5f9810e9b4657e4 100644
--- a/components/autofill/core/browser/payments/payments_client.h
+++ b/components/autofill/core/browser/payments/payments_client.h
@@ -58,12 +58,6 @@
class PaymentsClient : public net::URLFetcherDelegate,
public OAuth2TokenService::Consumer {
public:
- // The names of the fields used to send non-location elements as part of an
- // address. Used in the implementation and in tests which verify that these
- // values are set or not at appropriate times.
- static const std::string kRecipientName;
- static const std::string kPhoneNumber;
-
// A collection of the information required to make a credit card unmask
// request.
struct UnmaskRequestDetails {
@@ -109,11 +103,9 @@
void UnmaskCard(const UnmaskRequestDetails& request_details);
// Determine if the user meets the Payments service's conditions for upload.
- // The service uses |addresses| (from which names are removed) and
- // |app_locale| to determine which legal message to display. If the conditions
- // are met, the legal message will be returned via OnDidGetUploadDetails.
- virtual void GetUploadDetails(const std::vector<AutofillProfile>& addresses,
- const std::string& app_locale);
+ // If so, the required legal message for display will be returned via
+ // OnDidGetUploadDetails.
+ virtual void GetUploadDetails(const std::string& app_locale);
// The user has indicated that they would like to upload a card with the given
// cvc. This request will fail server-side if a successful call to

Powered by Google App Engine
This is Rietveld 408576698