Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1521)

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 6262018: Cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_win.cc ('k') | chrome/browser/download/download_request_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698