Index: chrome/browser/ui/views/infobars/save_password_infobar.cc |
diff --git a/chrome/browser/ui/views/infobars/save_password_infobar.cc b/chrome/browser/ui/views/infobars/save_password_infobar.cc |
index 86d04503e4f6edbbf850cc73482edb4ff485b56b..5a3078e62bdbc8234ce43b0473507b9c2cf8436e 100644 |
--- a/chrome/browser/ui/views/infobars/save_password_infobar.cc |
+++ b/chrome/browser/ui/views/infobars/save_password_infobar.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#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" |
// TODO(tapted): Delete this file when Mac uses the password bubble by default. |
@@ -11,3 +12,9 @@ scoped_ptr<infobars::InfoBar> CreateSavePasswordInfoBar( |
scoped_ptr<SavePasswordInfoBarDelegate> delegate) { |
return make_scoped_ptr(new ConfirmInfoBar(delegate.Pass())); |
} |
+ |
+scoped_ptr<infobars::InfoBar> ChromeTranslateClient::CreateInfoBar( |
+ scoped_ptr<translate::TranslateInfoBarDelegate> delegate) const { |
+ NOTREACHED(); |
+ return nullptr; |
+} |