Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: chrome/browser/autofill/autofill_cc_import_confirmation_delegate.h

Issue 12378055: Make autofill stop depending on InfoBarService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698