| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/strings/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
| 7 #include "base/win/windows_version.h" | 7 #include "base/win/windows_version.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/browser/media/media_browsertest.h" | 9 #include "content/browser/media/media_browsertest.h" |
| 10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 #if defined(OS_ANDROID) | 186 #if defined(OS_ANDROID) |
| 187 return; | 187 return; |
| 188 #endif | 188 #endif |
| 189 TestSimplePlayback("bear-320x240-opus-av_enc-v.webm", kWebMAudioVideo); | 189 TestSimplePlayback("bear-320x240-opus-av_enc-v.webm", kWebMAudioVideo); |
| 190 } | 190 } |
| 191 | 191 |
| 192 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, ConfigChangeVideo) { | 192 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, ConfigChangeVideo) { |
| 193 TestConfigChange(); | 193 TestConfigChange(); |
| 194 } | 194 } |
| 195 | 195 |
| 196 // Playback of this video on Android w/ Spitzer enabled causes glitches. See |
| 197 // http://crbug.com/598963. |
| 198 #if !defined(OS_ANDROID) |
| 196 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, FrameSizeChangeVideo) { | 199 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, FrameSizeChangeVideo) { |
| 197 TestFrameSizeChange(); | 200 TestFrameSizeChange(); |
| 198 } | 201 } |
| 202 #endif |
| 199 | 203 |
| 200 IN_PROC_BROWSER_TEST_F(EncryptedMediaTest, UnknownKeySystemThrowsException) { | 204 IN_PROC_BROWSER_TEST_F(EncryptedMediaTest, UnknownKeySystemThrowsException) { |
| 201 RunEncryptedMediaTest(kDefaultEmePlayer, | 205 RunEncryptedMediaTest(kDefaultEmePlayer, |
| 202 "bear-a_enc-a.webm", | 206 "bear-a_enc-a.webm", |
| 203 kWebMAudioOnly, | 207 kWebMAudioOnly, |
| 204 "com.example.foo", | 208 "com.example.foo", |
| 205 MSE, | 209 MSE, |
| 206 kEmeNotSupportedError); | 210 kEmeNotSupportedError); |
| 207 } | 211 } |
| 208 | 212 |
| 209 } // namespace content | 213 } // namespace content |
| OLD | NEW |