Chromium Code Reviews| 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 //!!! Add comments | |
| 15 | |
| 16 virtual void DidShowConfirmation() = 0; | |
| 17 virtual void DidAccept() = 0; | |
| 18 virtual void DidDeny() = 0; | |
| 19 virtual void DidCancel() = 0; | |
| 20 virtual void DidIgnore() = 0; | |
| 21 }; | |
|
Ilya Sherman
2013/03/04 21:07:34
I don't think this interface is really necessary t
kaiwang
2013/03/05 01:48:56
I think there are 2 benefits to define such an int
Ilya Sherman
2013/03/05 02:50:39
I rather disagree. About 50% of the time when I l
kaiwang
2013/03/05 03:57:23
Seems the only CONs is about code reading. I reall
Ilya Sherman
2013/03/05 04:37:39
I'm less familiar with the history of the non-Auto
kaiwang
2013/03/05 18:38:16
BrowserProcess has only BrowserProcessImpl and tes
Ilya Sherman
2013/03/05 22:56:57
Like I said, I'm not familiar with the design deci
| |
| 22 | |
| 23 } // namespace autofill | |
| 24 | |
| 25 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_ | |
| OLD | NEW |