| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/ui/autofill/card_unmask_prompt_controller.h" | 10 #include "chrome/browser/ui/autofill/card_unmask_prompt_controller.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 CardUnmaskPromptView* view() { return card_unmask_view_; } | 51 CardUnmaskPromptView* view() { return card_unmask_view_; } |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 void LoadRiskFingerprint(); | 54 void LoadRiskFingerprint(); |
| 55 | 55 |
| 56 content::WebContents* web_contents_; | 56 content::WebContents* web_contents_; |
| 57 CreditCard card_; | 57 CreditCard card_; |
| 58 base::WeakPtr<CardUnmaskDelegate> delegate_; | 58 base::WeakPtr<CardUnmaskDelegate> delegate_; |
| 59 CardUnmaskPromptView* card_unmask_view_; | 59 CardUnmaskPromptView* card_unmask_view_; |
| 60 | 60 |
| 61 bool unmasking_success_; |
| 62 bool unmasking_initial_should_store_pan_; |
| 63 int unmasking_number_of_attempts_; |
| 64 |
| 61 CardUnmaskDelegate::UnmaskResponse pending_response_; | 65 CardUnmaskDelegate::UnmaskResponse pending_response_; |
| 62 | 66 |
| 63 base::WeakPtrFactory<CardUnmaskPromptControllerImpl> weak_pointer_factory_; | 67 base::WeakPtrFactory<CardUnmaskPromptControllerImpl> weak_pointer_factory_; |
| 64 | 68 |
| 65 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptControllerImpl); | 69 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptControllerImpl); |
| 66 }; | 70 }; |
| 67 | 71 |
| 68 } // namespace autofill | 72 } // namespace autofill |
| 69 | 73 |
| 70 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ | 74 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ |
| OLD | NEW |