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/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "base/win/windows_version.h" | 8 #include "base/win/windows_version.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" |
11 #include "content/public/test/browser_test_utils.h" | 11 #include "content/public/test/browser_test_utils.h" |
12 #include "content/shell/shell.h" | 12 #include "content/shell/browser/shell.h" |
13 | 13 |
14 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. | 14 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
15 | 15 |
16 #if defined(WIDEVINE_CDM_AVAILABLE) && defined(OS_LINUX) | 16 #if defined(WIDEVINE_CDM_AVAILABLE) && defined(OS_LINUX) |
17 #include <gnu/libc-version.h> | 17 #include <gnu/libc-version.h> |
18 #endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(OS_LINUX) | 18 #endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(OS_LINUX) |
19 | 19 |
20 #if defined(ENABLE_PEPPER_CDMS) | 20 #if defined(ENABLE_PEPPER_CDMS) |
21 // Platform-specific filename relative to the chrome executable. | 21 // Platform-specific filename relative to the chrome executable. |
22 static const char kClearKeyCdmAdapterFileName[] = | 22 static const char kClearKeyCdmAdapterFileName[] = |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 } | 301 } |
302 | 302 |
303 IN_PROC_BROWSER_TEST_F(WVEncryptedMediaTest, Playback_AudioOnly_MP4) { | 303 IN_PROC_BROWSER_TEST_F(WVEncryptedMediaTest, Playback_AudioOnly_MP4) { |
304 TestMSESimplePlayback("bear-640x360-a_frag-cenc.mp4", kMP4AudioOnly, | 304 TestMSESimplePlayback("bear-640x360-a_frag-cenc.mp4", kMP4AudioOnly, |
305 kWidevineKeySystem); | 305 kWidevineKeySystem); |
306 } | 306 } |
307 #endif // defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS) | 307 #endif // defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS) |
308 #endif // defined(WIDEVINE_CDM_AVAILABLE) | 308 #endif // defined(WIDEVINE_CDM_AVAILABLE) |
309 | 309 |
310 } // namespace content | 310 } // namespace content |
OLD | NEW |