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

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

Issue 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test merge Created 6 years, 9 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 5426691fe31f791a2865ca251afaf3b0108b9aa8..d1f49a360c72234c960166bc943620d6f1f94ff7 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -2734,7 +2734,7 @@ class MediaStreamDevicesControllerBrowserTest
void FinishAudioTest() {
content::MediaStreamRequest request(0, 0, 0,
- request_url_.GetOrigin(),
+ request_url_.GetOrigin(), false,
content::MEDIA_DEVICE_ACCESS,
std::string(), std::string(),
content::MEDIA_DEVICE_AUDIO_CAPTURE,
@@ -2753,7 +2753,7 @@ class MediaStreamDevicesControllerBrowserTest
// TODO(raymes): Test MEDIA_DEVICE_OPEN (Pepper) which grants both webcam
// and microphone permissions at the same time.
content::MediaStreamRequest request(0, 0, 0,
- request_url_.GetOrigin(),
+ request_url_.GetOrigin(), false,
content::MEDIA_DEVICE_ACCESS,
std::string(),
std::string(),
« no previous file with comments | « chrome/browser/media/media_stream_devices_controller.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698