diff options
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.cc')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc index 987eee2..0f4bdc5 100644 --- a/chrome/browser/automation/testing_automation_provider.cc +++ b/chrome/browser/automation/testing_automation_provider.cc @@ -2153,11 +2153,6 @@ ListValue* TestingAutomationProvider::GetInfobarsInfo(TabContents* tc) { 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(); |