| 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 1df68bade0afdd1411b42f82424633a06cebb3bd..6cadd3fd169b1f3cee244ad988e713e71d55f270 100644
|
| --- a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
|
| @@ -45,19 +45,26 @@ class CardUnmaskPromptControllerImpl : public CardUnmaskPromptController {
|
| const base::string16& year) const override;
|
|
|
| protected:
|
| + // Virtual so tests can suppress it.
|
| + virtual CardUnmaskPromptView* CreateAndShowView();
|
| + virtual void LoadRiskFingerprint();
|
| +
|
| virtual void OnDidLoadRiskFingerprint(const std::string& risk_data);
|
|
|
| // Exposed for testing.
|
| CardUnmaskPromptView* view() { return card_unmask_view_; }
|
|
|
| private:
|
| - void LoadRiskFingerprint();
|
|
|
| content::WebContents* web_contents_;
|
| CreditCard card_;
|
| base::WeakPtr<CardUnmaskDelegate> delegate_;
|
| CardUnmaskPromptView* card_unmask_view_;
|
|
|
| + bool unmasking_success_;
|
| + bool unmasking_initial_should_store_pan_;
|
| + int unmasking_number_of_attempts_;
|
| +
|
| CardUnmaskDelegate::UnmaskResponse pending_response_;
|
|
|
| base::WeakPtrFactory<CardUnmaskPromptControllerImpl> weak_pointer_factory_;
|
|
|