| Index: chrome/browser/ui/views/infobars/legacy_infobars_mac.cc
|
| diff --git a/chrome/browser/ui/views/infobars/legacy_infobars_mac.cc b/chrome/browser/ui/views/infobars/legacy_infobars_mac.cc
|
| index e748a9f5132dabddb8b484cfd1212f3cdd5552c8..5b4cc4c769113ebc06940a9f49d506380926248e 100644
|
| --- a/chrome/browser/ui/views/infobars/legacy_infobars_mac.cc
|
| +++ b/chrome/browser/ui/views/infobars/legacy_infobars_mac.cc
|
| @@ -3,9 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/memory/ptr_util.h"
|
| -#include "chrome/browser/password_manager/save_password_infobar_delegate.h"
|
| #include "chrome/browser/translate/chrome_translate_client.h"
|
| -#include "chrome/browser/ui/views/infobars/confirm_infobar.h"
|
|
|
| // On Mac, some infobars are still used that have been migrated to a bubble UI
|
| // on other views platforms. When building the toolkit-views browser window on
|
| @@ -14,11 +12,6 @@
|
| // elsewhere for OS_MACOSX, but aren't otherwise needed for a views browser.
|
| // TODO(tapted): Delete this file when Mac uses the bubbles by default.
|
|
|
| -std::unique_ptr<infobars::InfoBar> CreateSavePasswordInfoBar(
|
| - std::unique_ptr<SavePasswordInfoBarDelegate> delegate) {
|
| - return base::WrapUnique(new ConfirmInfoBar(std::move(delegate)));
|
| -}
|
| -
|
| std::unique_ptr<infobars::InfoBar> ChromeTranslateClient::CreateInfoBar(
|
| std::unique_ptr<translate::TranslateInfoBarDelegate> delegate) const {
|
| NOTREACHED();
|
|
|