| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_VIEWS_PAYMENTS_CVC_UNMASK_VIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_CVC_UNMASK_VIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_CVC_UNMASK_VIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_CVC_UNMASK_VIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 ~CvcUnmaskViewController() override; | 51 ~CvcUnmaskViewController() override; |
| 52 | 52 |
| 53 // autofill::payments::PaymentsClientDelegate: | 53 // autofill::payments::PaymentsClientDelegate: |
| 54 IdentityProvider* GetIdentityProvider() override; | 54 IdentityProvider* GetIdentityProvider() override; |
| 55 void OnDidGetRealPan(autofill::AutofillClient::PaymentsRpcResult result, | 55 void OnDidGetRealPan(autofill::AutofillClient::PaymentsRpcResult result, |
| 56 const std::string& real_pan) override; | 56 const std::string& real_pan) override; |
| 57 void OnDidGetUploadDetails( | 57 void OnDidGetUploadDetails( |
| 58 autofill::AutofillClient::PaymentsRpcResult result, | 58 autofill::AutofillClient::PaymentsRpcResult result, |
| 59 const base::string16& context_token, | 59 const base::string16& context_token, |
| 60 std::unique_ptr<base::DictionaryValue> legal_message) override; | 60 std::unique_ptr<base::DictionaryValue> legal_message) override; |
| 61 void OnDidUploadCard( | 61 void OnDidUploadCard(autofill::AutofillClient::PaymentsRpcResult result, |
| 62 autofill::AutofillClient::PaymentsRpcResult result) override; | 62 const std::string& server_id) override; |
| 63 | 63 |
| 64 // autofill::RiskDataLoader: | 64 // autofill::RiskDataLoader: |
| 65 void LoadRiskData( | 65 void LoadRiskData( |
| 66 const base::Callback<void(const std::string&)>& callback) override; | 66 const base::Callback<void(const std::string&)>& callback) override; |
| 67 | 67 |
| 68 // autofill::payments::FullCardRequest::UIDelegate: | 68 // autofill::payments::FullCardRequest::UIDelegate: |
| 69 void ShowUnmaskPrompt( | 69 void ShowUnmaskPrompt( |
| 70 const autofill::CreditCard& card, | 70 const autofill::CreditCard& card, |
| 71 autofill::AutofillClient::UnmaskCardReason reason, | 71 autofill::AutofillClient::UnmaskCardReason reason, |
| 72 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; | 72 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 95 base::WeakPtr<autofill::CardUnmaskDelegate> unmask_delegate_; | 95 base::WeakPtr<autofill::CardUnmaskDelegate> unmask_delegate_; |
| 96 | 96 |
| 97 base::WeakPtrFactory<CvcUnmaskViewController> weak_ptr_factory_; | 97 base::WeakPtrFactory<CvcUnmaskViewController> weak_ptr_factory_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(CvcUnmaskViewController); | 99 DISALLOW_COPY_AND_ASSIGN(CvcUnmaskViewController); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace payments | 102 } // namespace payments |
| 103 | 103 |
| 104 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_CVC_UNMASK_VIEW_CONTROLLER_H_ | 104 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_CVC_UNMASK_VIEW_CONTROLLER_H_ |
| OLD | NEW |