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

Side by Side Diff: webkit/media/crypto/key_systems_unittest.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/media/crypto/key_systems.cc ('k') | webkit/media/crypto/proxy_decryptor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 9 #include "third_party/WebKit/public/platform/WebString.h"
10 #include "webkit/media/crypto/key_systems.h" 10 #include "webkit/media/crypto/key_systems.h"
11 11
12 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. 12 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR.
13 13
14 #if defined(WIDEVINE_CDM_AVAILABLE) && \ 14 #if defined(WIDEVINE_CDM_AVAILABLE) && \
15 defined(OS_LINUX) && !defined(OS_CHROMEOS) 15 defined(OS_LINUX) && !defined(OS_CHROMEOS)
16 #include <gnu/libc-version.h> 16 #include <gnu/libc-version.h>
17 #endif 17 #endif
18 18
19 using WebKit::WebString; 19 using WebKit::WebString;
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 "audio/mp4", avc1_codec(), kWidevineAlpha)); 747 "audio/mp4", avc1_codec(), kWidevineAlpha));
748 EXPECT_FALSE(IsSupportedKeySystemWithMediaMimeType( 748 EXPECT_FALSE(IsSupportedKeySystemWithMediaMimeType(
749 "audio/mp4", avc1_and_aac_codecs(), kWidevineAlpha)); 749 "audio/mp4", avc1_and_aac_codecs(), kWidevineAlpha));
750 750
751 // Non-MP4 codec. 751 // Non-MP4 codec.
752 EXPECT_FALSE(IsSupportedKeySystemWithMediaMimeType( 752 EXPECT_FALSE(IsSupportedKeySystemWithMediaMimeType(
753 "audio/mp4", vorbis_codec(), kWidevineAlpha)); 753 "audio/mp4", vorbis_codec(), kWidevineAlpha));
754 } 754 }
755 755
756 } // namespace webkit_media 756 } // namespace webkit_media
OLDNEW
« no previous file with comments | « webkit/media/crypto/key_systems.cc ('k') | webkit/media/crypto/proxy_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698