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

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: Fix tests 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..a6177a4a90fbe8e5691b58910826915dcf121375
--- /dev/null
+++ b/chrome/browser/autofill/autofill_cc_import_confirmation_delegate.h
@@ -0,0 +1,30 @@
+// 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() {}
+
+ // Called after the confirmation UI has been shown.
+ virtual void DidShow() = 0;
+
+ // Called when user has accepted to save the credit card.
+ virtual void DidAccept() = 0;
+
+ // Called when user has denied to save the credit card.
+ virtual void DidCancel() = 0;
+
+ // Called when user has dismissed the confirmation UI (e.g. clicking close
+ // button).
+ virtual void DidDismiss() = 0;
+};
+
+} // namespace autofill
+
+#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_IMPORT_CONFIRMATION_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698