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

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

Issue 2254353002: Prompt for CVC in credit card assist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better callback names Created 4 years, 4 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/full_card_request.h
diff --git a/components/autofill/core/browser/payments/full_card_request.h b/components/autofill/core/browser/payments/full_card_request.h
index 7f0d2f34209e2b13eb8c4a44f6f7c57c72dae66c..6fd06ae525027a584d203ca5899dc793c27ede77 100644
--- a/components/autofill/core/browser/payments/full_card_request.h
+++ b/components/autofill/core/browser/payments/full_card_request.h
@@ -29,9 +29,9 @@ class FullCardRequest : public CardUnmaskDelegate {
// The interface for receiving the full card details.
class Delegate {
public:
- virtual void OnFullCardDetails(const CreditCard& card,
- const base::string16& cvc) = 0;
- virtual void OnFullCardError() = 0;
+ virtual void OnFullCardRequestSucceeded(const CreditCard& card,
+ const base::string16& cvc) = 0;
+ virtual void OnFullCardRequestFailed() = 0;
};
// The parameters should outlive the FullCardRequest.
@@ -41,8 +41,9 @@ class FullCardRequest : public CardUnmaskDelegate {
~FullCardRequest();
// Retrieves the pan and cvc for |card| and invokes
- // Delegate::OnFullCardDetails() or Delegate::OnFullCardError(). Only one
- // request should be active at a time.
+ // Delegate::OnFullCardRequestSucceeded() or
+ // Delegate::OnFullCardRequestFailed(). Only one request should be active at a
+ // time.
//
// If the card is local, has a non-empty GUID, and the user has updated its
// expiration date, then this function will write the new information to
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill/core/browser/payments/full_card_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698