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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 88283002: Reland review 34393006: Refactor MediaStreamManager to not output real device id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make sure devices are not enumerated unless there is a valid security origin. Created 7 years, 1 month 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/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 47679c2c74561dac6ed3ac9dad33bcabbaaf00f1..2fde780060549ee1c4f4ae1ab51381c30bf9dd48 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -2672,7 +2672,7 @@ class MediaStreamDevicesControllerBrowserTest
}
void FinishAudioTest() {
- content::MediaStreamRequest request(0, 0, 0, std::string(),
+ content::MediaStreamRequest request(0, 0, 0,
request_url_.GetOrigin(),
content::MEDIA_DEVICE_ACCESS,
std::string(), std::string(),
@@ -2691,7 +2691,7 @@ class MediaStreamDevicesControllerBrowserTest
void FinishVideoTest() {
// TODO(raymes): Test MEDIA_DEVICE_OPEN (Pepper) which grants both webcam
// and microphone permissions at the same time.
- content::MediaStreamRequest request(0, 0, 0, std::string(),
+ content::MediaStreamRequest request(0, 0, 0,
request_url_.GetOrigin(),
content::MEDIA_DEVICE_ACCESS,
std::string(),

Powered by Google App Engine
This is Rietveld 408576698