| Index: chrome/browser/infobars/infobar_service.cc
|
| diff --git a/chrome/browser/infobars/infobar_service.cc b/chrome/browser/infobars/infobar_service.cc
|
| index b8dadd2c42db58372bfbda0ed08b29d29fb8f23b..71b925185988c456a7f045fb05039605681a4e39 100644
|
| --- a/chrome/browser/infobars/infobar_service.cc
|
| +++ b/chrome/browser/infobars/infobar_service.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "base/command_line.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| -#include "chrome/browser/infobars/insecure_content_infobar_delegate.h"
|
| #include "chrome/common/render_messages.h"
|
| #include "components/content_settings/content/common/content_settings_messages.h"
|
| #include "components/infobars/core/infobar.h"
|
| @@ -115,20 +114,6 @@ void InfoBarService::WebContentsDestroyed() {
|
| // returning from this function is the only safe thing to do.
|
| }
|
|
|
| -bool InfoBarService::OnMessageReceived(const IPC::Message& message) {
|
| - bool handled = true;
|
| - IPC_BEGIN_MESSAGE_MAP(InfoBarService, message)
|
| - IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidBlockDisplayingInsecureContent,
|
| - OnDidBlockDisplayingInsecureContent)
|
| - IPC_MESSAGE_UNHANDLED(handled = false)
|
| - IPC_END_MESSAGE_MAP()
|
| - return handled;
|
| -}
|
| -
|
| -void InfoBarService::OnDidBlockDisplayingInsecureContent() {
|
| - InsecureContentInfoBarDelegate::Create(this);
|
| -}
|
| -
|
| void InfoBarService::OpenURL(const GURL& url,
|
| WindowOpenDisposition disposition) {
|
| // A normal user click on an infobar URL will result in a CURRENT_TAB
|
|
|