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

Unified Diff: content/browser/media/encrypted_media_browsertest.cc

Issue 23205006: Define proprietary_codecs=1 when branding==Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto lkgr Created 7 years, 4 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 | « chrome/browser/icon_loader_chromeos.cc ('k') | content/browser/media/media_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/encrypted_media_browsertest.cc
diff --git a/content/browser/media/encrypted_media_browsertest.cc b/content/browser/media/encrypted_media_browsertest.cc
index ce5dc4e6ba07e1f34505f2482ece981a8ff3d8e9..2af0d26f964d3dbea0de7f6d3bdde67e9c745a6d 100644
--- a/content/browser/media/encrypted_media_browsertest.cc
+++ b/content/browser/media/encrypted_media_browsertest.cc
@@ -243,7 +243,7 @@ IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, FrameChangeVideo) {
TestFrameSizeChange(GetParam(), kEnded);
}
-#if defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
+#if defined(USE_PROPRIETARY_CODECS)
IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, Playback_VideoOnly_MP4) {
std::tr1::tuple<const char*, SrcType> test_params = GetParam();
// MP4 without MSE is not support yet, http://crbug.com/170793.
@@ -265,7 +265,7 @@ IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, Playback_AudioOnly_MP4) {
TestMSESimplePlayback("bear-640x360-a_frag-cenc.mp4", kMP4AudioOnly,
std::tr1::get<0>(test_params), kEnded);
}
-#endif
+#endif // defined(USE_PROPRIETARY_CODECS)
// Run only when WV CDM is available.
#if defined(WIDEVINE_CDM_AVAILABLE)
@@ -294,7 +294,7 @@ IN_PROC_BROWSER_TEST_F(WVEncryptedMediaTest, Playback_VideoClearAudio_WebM) {
kWidevineKeySystem);
}
-#if defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
+#if defined(USE_PROPRIETARY_CODECS)
IN_PROC_BROWSER_TEST_F(WVEncryptedMediaTest, Playback_VideoOnly_MP4) {
TestMSESimplePlayback("bear-640x360-v_frag-cenc.mp4", kMP4VideoOnly,
kWidevineKeySystem);
@@ -304,7 +304,7 @@ IN_PROC_BROWSER_TEST_F(WVEncryptedMediaTest, Playback_AudioOnly_MP4) {
TestMSESimplePlayback("bear-640x360-a_frag-cenc.mp4", kMP4AudioOnly,
kWidevineKeySystem);
}
-#endif // defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
+#endif // defined(USE_PROPRIETARY_CODECS)
#endif // defined(WIDEVINE_CDM_AVAILABLE)
} // namespace content
« no previous file with comments | « chrome/browser/icon_loader_chromeos.cc ('k') | content/browser/media/media_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698