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

Side by Side Diff: webkit/media/key_systems.h

Issue 10575026: Add ProxyDecryptor which wraps concrete Decryptor implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits and rebased. Created 8 years, 5 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/proxy_decryptor.cc ('k') | webkit/media/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_MEDIA_KEY_SYSTEMS_H_
6 #define WEBKIT_MEDIA_KEY_SYSTEMS_H_
7
8 #include <string>
9 #include <vector>
10
11 namespace WebKit {
12 class WebString;
13 }
14
15 namespace webkit_media {
16
17 // Returns whether |key_sytem| is supported at all.
18 // Call IsSupportedKeySystemWithMediaMimeType() to determine whether a
19 // |key_system| supports a specific type of media.
20 bool IsSupportedKeySystem(const WebKit::WebString& key_system);
21
22 // Returns whether |key_sytem| supports the specified media type and codec(s).
23 bool IsSupportedKeySystemWithMediaMimeType(
24 const std::string& mime_type,
25 const std::vector<std::string>& codecs,
26 const std::string& key_system);
27
28 } // namespace webkit_media
29
30 #endif // WEBKIT_MEDIA_KEY_SYSTEMS_H_
OLDNEW
« no previous file with comments | « webkit/media/crypto/proxy_decryptor.cc ('k') | webkit/media/key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698