| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_ |
| 7 |
| 8 namespace autofill { |
| 9 |
| 10 class AutofillCCImportConfirmationDelegate { |
| 11 public: |
| 12 virtual ~AutofillCCImportConfirmationDelegate() {} |
| 13 |
| 14 // Called after the confirmation UI has been shown. |
| 15 virtual void DidShow() = 0; |
| 16 |
| 17 // Called when user has accepted to save the credit card. |
| 18 virtual void DidAccept() = 0; |
| 19 |
| 20 // Called when user has denied to save the credit card. |
| 21 virtual void DidCancel() = 0; |
| 22 |
| 23 // Called when user has dismissed the confirmation UI (e.g. clicking close |
| 24 // button). |
| 25 virtual void DidDismiss() = 0; |
| 26 }; |
| 27 |
| 28 } // namespace autofill |
| 29 |
| 30 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_ |
| OLD | NEW |