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

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

Issue 1381703006: Fix a test failure when IP Permission check is turned on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
diff --git a/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc b/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
index 45debc951ed22919e7d69dd1d57c8df728327268..a85d55606fc705b5d840c12aeaa7b208faf974a4 100644
--- a/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
+++ b/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
@@ -137,6 +137,9 @@ class MAYBE_WebRtcAudioQualityBrowserTest : public WebRtcTestBase {
// getUserMedia, and the getUserMedia-based tests will play back a file
// through the fake device using using --use-file-for-fake-audio-capture.
command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream);
+
+ // Add loopback interface such that there is always connectivity.
+ command_line->AppendSwitch(switches::kAllowLoopbackInPeerConnection);
}
void ConfigureFakeDeviceToPlayFile(const base::FilePath& wav_file_path) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698