Index: content/test/webrtc_content_browsertest_base.cc |
diff --git a/content/test/webrtc_content_browsertest_base.cc b/content/test/webrtc_content_browsertest_base.cc |
index db83501971f94d6d57e18bd42ceb669a5308e2e9..e6c3b4600815849a6eb3ca9e5635179dc845fe63 100644 |
--- a/content/test/webrtc_content_browsertest_base.cc |
+++ b/content/test/webrtc_content_browsertest_base.cc |
@@ -17,6 +17,10 @@ |
#include "chromeos/audio/cras_audio_handler.h" |
#endif |
+#if defined(OS_WIN) |
+#include "base/win/windows_version.h" |
+#endif |
+ |
namespace content { |
void WebRtcContentBrowserTest::SetUpCommandLine(CommandLine* command_line) { |
@@ -97,4 +101,12 @@ void WebRtcContentBrowserTest::DisableOpusIfOnAndroid() { |
#endif |
} |
+bool WebRtcContentBrowserTest::OnWinXp() const { |
+#if defined(OS_WIN) |
+ return base::win::GetVersion() <= base::win::VERSION_XP; |
+#else |
+ return false; |
+#endif |
+} |
+ |
} // namespace content |