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

Unified Diff: ios/chrome/browser/ui/autofill/autofill_save_card_infobar.mm

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: components/autofill review. 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
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.mm ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/autofill/autofill_save_card_infobar.mm
diff --git a/ios/chrome/browser/ui/autofill/autofill_save_card_infobar.mm b/ios/chrome/browser/ui/autofill/autofill_save_card_infobar.mm
new file mode 100644
index 0000000000000000000000000000000000000000..0f34f3dd6bcb464af9235d14ce0af8437eb222a4
--- /dev/null
+++ b/ios/chrome/browser/ui/autofill/autofill_save_card_infobar.mm
@@ -0,0 +1,20 @@
+// 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.
+
+#include <utility>
+
+#include "components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h"
+#include "components/autofill/core/browser/autofill_save_card_infobar_mobile.h"
+#include "components/infobars/core/infobar.h"
+#include "ios/chrome/browser/infobars/infobar_utils.h"
+
+namespace autofill {
+
+scoped_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile(
+ scoped_ptr<AutofillSaveCardInfoBarDelegateMobile> delegate) {
+ // TODO(jdonnelly): Implement iOS save card infobar. http://crbug.com/535784
+ return ::CreateConfirmInfoBar(std::move(delegate));
+}
+
+} // namespace autofill
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.mm ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698