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

Unified Diff: chrome/browser/media/chrome_media_stream_infobar_browsertest.cc

Issue 795703003: Don't auto allow access to media devices unless a the security origin of the requester is the same … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win compile. Created 5 years, 11 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/media/chrome_media_stream_infobar_browsertest.cc
diff --git a/chrome/browser/media/chrome_media_stream_infobar_browsertest.cc b/chrome/browser/media/chrome_media_stream_infobar_browsertest.cc
index d06a595e620c1fcd22d1e7351bc52e147060a0db..c33486c7640a516359a30f57137fa8ca8779e5d2 100644
--- a/chrome/browser/media/chrome_media_stream_infobar_browsertest.cc
+++ b/chrome/browser/media/chrome_media_stream_infobar_browsertest.cc
@@ -65,7 +65,7 @@ class MediaStreamInfoBarTest : public WebRtcTestBase {
content::MediaStreamRequestResult result) const {
const std::string no_id;
content::MediaStreamRequest request(
- 0, 0, 0, test_page_url().GetOrigin(), false,
+ 0, 0, 0, std::string(), test_page_url().GetOrigin(), false,
content::MEDIA_DEVICE_ACCESS, no_id, no_id,
content::MEDIA_DEVICE_AUDIO_CAPTURE,
content::MEDIA_DEVICE_VIDEO_CAPTURE);

Powered by Google App Engine
This is Rietveld 408576698