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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 873583007: Add OAuth2 token to RealPanRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ) Created 5 years, 11 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/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index c25c99c6e01fcc127a1184eb13446f2869517845..cb5030a7f022f9cf50f53436820405915576847f 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -561,6 +561,8 @@ void AutofillManager::FillOrPreviewForm(
unmasking_query_id_ = query_id;
unmasking_form_ = form;
unmasking_field_ = field;
+ // TODO(estade): uncomment this after the demo.
+ // real_pan_client_.Prepare();
client()->ShowUnmaskPrompt(unmasking_card_,
weak_ptr_factory_.GetWeakPtr());
return;
@@ -708,13 +710,12 @@ void AutofillManager::OnUnmaskPromptClosed() {
unmasking_cvc_.clear();
}
-void AutofillManager::OnDidGetRealPan(const std::string& real_pan) {
- NOTIMPLEMENTED();
+IdentityProvider* AutofillManager::GetIdentityProvider() {
+ return client()->GetIdentityProvider();
}
-std::string AutofillManager::GetOAuth2Token() {
+void AutofillManager::OnDidGetRealPan(const std::string& real_pan) {
NOTIMPLEMENTED();
- return "would_I_lie_to_you?";
}
void AutofillManager::OnUnmaskVerificationResult(bool success) {
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | components/autofill/core/browser/test_autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698