Chromium Code Reviews

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

Issue 10537099: add "always allow" option to the mediastream infobar and allow user to allow/not allow acces to devi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 c86a5de679f420b5fabb256140f3756c016a0cc1..6e4496e079f477afc696eca8aa35fe2df6faa205 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2234,7 +2234,8 @@ void TestingAutomationProvider::PerformActionOnInfobar(
}
media_stream_infobar->Accept(audio_devices[0].device_id,
- video_devices[0].device_id);
+ video_devices[0].device_id,
+ false);
infobar_helper->RemoveInfoBar(infobar);
} else if ("deny" == action) {
media_stream_infobar->Deny();

Powered by Google App Engine