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

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

Issue 10209022: Refactor media stream infobar delegate code and also fix a typo (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 64ba390ef1a4d0a3e10d4f109b5479ffdb9cf7d9..9033f9fdbdbbbffa1ef109ee16da317966a129e9 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2700,7 +2700,7 @@ void TestingAutomationProvider::PerformActionOnInfobar(
}
if ("allow" == action || "deny" == action) {
MediaStreamInfoBarDelegate* media_stream_infobar;
- if (!(media_stream_infobar = infobar->AsMediaStreamInfobarDelegate())) {
+ if (!(media_stream_infobar = infobar->AsMediaStreamInfoBarDelegate())) {
reply.SendError("Not a media stream infobar.");
return;
}
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698