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

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: Change TranslateDeviceIdToSourceId to check for the request type instead of device type. 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 0a6b9b9f077fb721e38989546fe9068cfb2bbe35..5f25087475062c87faa6966b618bf160f26adfe2 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -2634,7 +2634,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(),
@@ -2653,7 +2653,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