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

Unified Diff: chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h

Issue 896583003: Add risk data to getrealpan request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes for android 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: chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
index c3d4c628198babda24dd854d994762aea49f0d53..165ff3b03f63ce7d08df3ab5881b8eee0a874f8c 100644
--- a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
+++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
@@ -5,13 +5,14 @@
#ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_
#define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/ui/autofill/card_unmask_prompt_controller.h"
+#include "components/autofill/core/browser/card_unmask_delegate.h"
#include "components/autofill/core/browser/credit_card.h"
namespace autofill {
-class CardUnmaskDelegate;
class CardUnmaskPromptView;
class CardUnmaskPromptControllerImpl : public CardUnmaskPromptController {
@@ -39,11 +40,16 @@ class CardUnmaskPromptControllerImpl : public CardUnmaskPromptController {
bool InputTextIsValid(const base::string16& input_text) const override;
private:
+ void LoadRiskFingerprint();
+ void OnDidLoadRiskFingerprint(const std::string& risk_data);
+
content::WebContents* web_contents_;
CreditCard card_;
base::WeakPtr<CardUnmaskDelegate> delegate_;
CardUnmaskPromptView* card_unmask_view_;
+ CardUnmaskDelegate::UnmaskResponse pending_response_;
+
base::WeakPtrFactory<CardUnmaskPromptControllerImpl> weak_pointer_factory_;
DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptControllerImpl);

Powered by Google App Engine
This is Rietveld 408576698