Index: chrome/browser/automation/testing_automation_provider.cc |
=================================================================== |
--- chrome/browser/automation/testing_automation_provider.cc (revision 72676) |
+++ chrome/browser/automation/testing_automation_provider.cc (working copy) |
@@ -2153,11 +2153,6 @@ |
buttons_list->Append(button_label); |
} |
infobar_item->Set("buttons", buttons_list); |
- } else if (infobar->AsAlertInfoBarDelegate()) { |
- infobar_item->SetString("type", "alert_infobar"); |
- AlertInfoBarDelegate* alert_infobar = |
- infobar->AsAlertInfoBarDelegate(); |
- infobar_item->SetString("text", alert_infobar->GetMessageText()); |
} else if (infobar->AsLinkInfoBarDelegate()) { |
infobar_item->SetString("type", "link_infobar"); |
LinkInfoBarDelegate* link_infobar = infobar->AsLinkInfoBarDelegate(); |