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

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: rebased, addressed comments from Ivan, let "block" apply before exceptions 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 2bad87ea2db2bff8b6b3059acc55ec0a67f3945b..0e758a6eb575a10a24c9289e3edc721739c07a62 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