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

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: Fix Android build. Created 6 years, 8 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
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 // Helper functions to add extra container/codec masks. This can be used to add
ddorwin 2014/04/22 21:24:41 Is this only for testing? Is the only reason we ne
xhwang 2014/04/23 17:29:14 Done.
55 // platform specific container/codec types that needs to be supported, or to add
56 // container/codec types for testing purposes.
57 CONTENT_EXPORT void AddContainerMask(const std::string& container, uint32 mask);
58 CONTENT_EXPORT void AddCodecMask(const std::string& codec, uint32 mask);
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

Powered by Google App Engine
This is Rietveld 408576698