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

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: addressed comments from joaodasilva and bauerb, added support to Incognito mode. Created 8 years, 6 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
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 66730804c6cd85566fe84c90d01672eed85d3c57..4f90bc2787ac303d83039cbb8e503f728abbefda 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2225,7 +2225,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
This is Rietveld 408576698