Chromium Code Reviews| Index: chrome/browser/autofill/autofill_cc_import_confirmation_delegate.h |
| diff --git a/chrome/browser/autofill/autofill_cc_import_confirmation_delegate.h b/chrome/browser/autofill/autofill_cc_import_confirmation_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c04b6f0d1109c2f23b9c1da463178f241810f25a |
| --- /dev/null |
| +++ b/chrome/browser/autofill/autofill_cc_import_confirmation_delegate.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_ |
| +#define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_ |
| + |
| +namespace autofill { |
| + |
| +class AutofillCCImportConfirmationDelegate { |
| + public: |
| + virtual ~AutofillCCImportConfirmationDelegate() {} |
| + |
| + //!!! Add comments |
| + |
| + virtual void DidShowConfirmation() = 0; |
| + virtual void DidAccept() = 0; |
| + virtual void DidDeny() = 0; |
| + virtual void DidCancel() = 0; |
| + virtual void DidIgnore() = 0; |
| +}; |
|
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
|
| + |
| +} // namespace autofill |
| + |
| +#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_ |