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

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

Issue 34393006: Refactor MediaStreamManager to never output real device id. It now always output sourceId in the fo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix broken video_capture_host unittests. Addressed justinlinlins comments. Created 7 years, 2 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/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 95fe37c33a22355f5734914963b36a7b28535e98..b5fb96099674ce3d410192cdf5ee222d96e16e82 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -2543,7 +2543,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(),
@@ -2562,7 +2562,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