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 |