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

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 sky's comment and replaced "Do not allow any site to" with "Do not allow sites to" 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 964b9e58090c9e31f9dde9d74cd5f4ade835fc13..7cce4b328df9838fb0242e25696dfe8ed419b85f 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2271,7 +2271,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();
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/content_settings/content_settings_default_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698