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/wallet/real_pan_wallet_client.h

Issue 969223002: Autofill wallet -- handle several classes of error in unmasking prompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: local Created 5 years, 10 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/wallet/real_pan_wallet_client.h
diff --git a/components/autofill/core/browser/wallet/real_pan_wallet_client.h b/components/autofill/core/browser/wallet/real_pan_wallet_client.h
index 82dc0b72d0664d3add9d23e9c63f41bb2892433d..6dd7a2d7f37987f4671482ceed837b0d66542c93 100644
--- a/components/autofill/core/browser/wallet/real_pan_wallet_client.h
+++ b/components/autofill/core/browser/wallet/real_pan_wallet_client.h
@@ -7,6 +7,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/card_unmask_delegate.h"
#include "components/autofill/core/browser/credit_card.h"
#include "google_apis/gaia/oauth2_token_service.h"
@@ -36,7 +37,8 @@ class RealPanWalletClient : public net::URLFetcherDelegate,
// Returns the real PAN retrieved from Wallet. |real_pan| will be empty
// on failure.
- virtual void OnDidGetRealPan(const std::string& real_pan) = 0;
+ virtual void OnDidGetRealPan(AutofillClient::GetRealPanResult result,
+ const std::string& real_pan) = 0;
};
// |context_getter| is reference counted so it has no lifetime or ownership

Powered by Google App Engine
This is Rietveld 408576698