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

Side by Side Diff: content/renderer/media/crypto/key_systems.h

Issue 246033002: Store SupportedCodecs in KeySystemInfo and KeySystems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: eme_codec.h Created 6 years, 7 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 | « content/public/renderer/key_system_info.h ('k') | content/renderer/media/crypto/key_systems.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_
6 #define CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_ 6 #define CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Returns whether AesDecryptor can be used for the given |concrete_key_system|. 44 // Returns whether AesDecryptor can be used for the given |concrete_key_system|.
45 CONTENT_EXPORT bool CanUseAesDecryptor(const std::string& concrete_key_system); 45 CONTENT_EXPORT bool CanUseAesDecryptor(const std::string& concrete_key_system);
46 46
47 #if defined(ENABLE_PEPPER_CDMS) 47 #if defined(ENABLE_PEPPER_CDMS)
48 // Returns the Pepper MIME type for |concrete_key_system|. 48 // Returns the Pepper MIME type for |concrete_key_system|.
49 // Returns empty string if |concrete_key_system| is unknown or not Pepper-based. 49 // Returns empty string if |concrete_key_system| is unknown or not Pepper-based.
50 CONTENT_EXPORT std::string GetPepperType( 50 CONTENT_EXPORT std::string GetPepperType(
51 const std::string& concrete_key_system); 51 const std::string& concrete_key_system);
52 #endif 52 #endif
53 53
54 #if defined(UNIT_TEST)
55 // Helper functions to add container/codec types for testing purposes.
56 CONTENT_EXPORT void AddContainerMask(const std::string& container, uint32 mask);
57 CONTENT_EXPORT void AddCodecMask(const std::string& codec, uint32 mask);
58 #endif // defined(UNIT_TEST)
59
54 } // namespace content 60 } // namespace content
55 61
56 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_ 62 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_
OLDNEW
« no previous file with comments | « content/public/renderer/key_system_info.h ('k') | content/renderer/media/crypto/key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698