Chromium Code Reviews| 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 ------------------------------------------------------------- |