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

Unified Diff: components/autofill/core/browser/autofill_save_card_infobar_mobile.h

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compiles Created 4 years, 11 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: components/autofill/core/browser/autofill_save_card_infobar_mobile.h
diff --git a/components/autofill/core/browser/autofill_save_card_infobar_mobile.h b/components/autofill/core/browser/autofill_save_card_infobar_mobile.h
new file mode 100644
index 0000000000000000000000000000000000000000..494d47968954bfdee84d585c80f683b3beffe22a
--- /dev/null
+++ b/components/autofill/core/browser/autofill_save_card_infobar_mobile.h
@@ -0,0 +1,24 @@
+// Copyright 2016 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SAVE_CARD_INFOBAR_MOBILE_H_
+#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SAVE_CARD_INFOBAR_MOBILE_H_
+
+#include "base/memory/scoped_ptr.h"
+
+namespace infobars {
+class InfoBar;
+}
+
+namespace autofill {
+
+class AutofillSaveCardInfoBarDelegateMobile;
+
+// Creates an infobar for saving a credit card on a mobile device.
+scoped_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile(
+ scoped_ptr<AutofillSaveCardInfoBarDelegateMobile> delegate);
+
+} // namespace autofill
+
+#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SAVE_CARD_INFOBAR_MOBILE_H_

Powered by Google App Engine
This is Rietveld 408576698