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

Unified Diff: chrome/browser/ui/views/infobars/confirm_infobar.cc

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: Edits 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: chrome/browser/ui/views/infobars/confirm_infobar.cc
diff --git a/chrome/browser/ui/views/infobars/confirm_infobar.cc b/chrome/browser/ui/views/infobars/confirm_infobar.cc
index 61f39beaa8bee3d8242495dc535eb3a0556339a5..f3c6932852c1b4127c6a7eaa04af1a61e484e9c3 100644
--- a/chrome/browser/ui/views/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.cc
@@ -9,6 +9,7 @@
#include "base/logging.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/browser/ui/views/elevation_icon_setter.h"
+#include "components/autofill/core/browser/autofill_cc_infobar_delegate.h"
#include "components/infobars/core/confirm_infobar_delegate.h"
#include "ui/base/resource/material_design/material_design_controller.h"
#include "ui/base/window_open_disposition.h"
@@ -23,6 +24,10 @@ scoped_ptr<infobars::InfoBar> InfoBarService::CreateConfirmInfoBar(
return make_scoped_ptr(new ConfirmInfoBar(std::move(delegate)));
}
+scoped_ptr<infobars::InfoBar> InfoBarService::CreateAutofillCCInfoBar(
+ scoped_ptr<autofill::AutofillCCInfoBarDelegate> delegate) {
+ return CreateConfirmInfoBar(std::move(delegate));
Justin Donnelly 2016/01/07 18:15:40 If we keep this, add a comment explaining that Vie
please use gerrit instead 2016/01/08 00:07:05 Done.
+}
// ConfirmInfoBar -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698