Index: chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc |
diff --git a/chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc b/chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc |
index 8107494b852a4fe7df29dbdfdbec0877ab1eee6a..894f45ec8e01aecdfdbe9db56aae3b235cb101c7 100644 |
--- a/chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc |
+++ b/chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc |
@@ -18,6 +18,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/threading/thread_restrictions.h" |
#include "build/build_config.h" |
#include "chrome/browser/media/webrtc/webrtc_browsertest_audio.h" |
#include "chrome/browser/media/webrtc/webrtc_browsertest_base.h" |
@@ -681,11 +682,13 @@ void MAYBE_WebRtcAudioQualityBrowserTest::TestWithFakeDeviceGetUserMedia( |
IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioQualityBrowserTest, |
MANUAL_TestCallQualityWithAudioFromFakeDevice) { |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
TestWithFakeDeviceGetUserMedia(kAudioOnlyCallConstraints, "_getusermedia"); |
} |
IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioQualityBrowserTest, |
MANUAL_TestCallQualityWithAudioFromWebAudio) { |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
if (OnWin8()) { |
// http://crbug.com/379798. |
LOG(ERROR) << "This test is not implemented for Windows XP/Win8."; |
@@ -801,6 +804,7 @@ void MAYBE_WebRtcAudioQualityBrowserTest::TestAutoGainControl( |
// The AGC should apply non-zero gain here. |
IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioQualityBrowserTest, |
MANUAL_TestAutoGainControlOnLowAudio) { |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
ASSERT_NO_FATAL_FAILURE(TestAutoGainControl( |
kReferenceFile, kAudioOnlyCallConstraints, "_with_agc")); |
} |
@@ -808,6 +812,7 @@ IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioQualityBrowserTest, |
// Since the AGC is off here there should be no gain at all. |
IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioQualityBrowserTest, |
MANUAL_TestAutoGainIsOffWithAudioProcessingOff) { |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
const char* kAudioCallWithoutAudioProcessing = |
"{audio: { mandatory: { echoCancellation: false } } }"; |
ASSERT_NO_FATAL_FAILURE(TestAutoGainControl( |