Index: chrome/browser/infobars/infobar_service.cc |
diff --git a/chrome/browser/infobars/infobar_service.cc b/chrome/browser/infobars/infobar_service.cc |
index 3e80ac9317158c55f64447dd3e4d744a686d4af4..7fdd7ec1775f34d42021225b40243c34275e8f43 100644 |
--- a/chrome/browser/infobars/infobar_service.cc |
+++ b/chrome/browser/infobars/infobar_service.cc |
@@ -130,19 +130,11 @@ bool InfoBarService::OnMessageReceived(const IPC::Message& message) { |
IPC_BEGIN_MESSAGE_MAP(InfoBarService, message) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidBlockDisplayingInsecureContent, |
OnDidBlockDisplayingInsecureContent) |
- IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidBlockRunningInsecureContent, |
- OnDidBlockRunningInsecureContent) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
} |
void InfoBarService::OnDidBlockDisplayingInsecureContent() { |
- InsecureContentInfoBarDelegate::Create( |
- this, InsecureContentInfoBarDelegate::DISPLAY); |
-} |
- |
-void InfoBarService::OnDidBlockRunningInsecureContent() { |
- InsecureContentInfoBarDelegate::Create(this, |
- InsecureContentInfoBarDelegate::RUN); |
+ InsecureContentInfoBarDelegate::Create(this); |
} |