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

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

Issue 10020053: Initial implementation of Encrypted Media Extensions in Chrome. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use new enum names from http://webk.it/84046. Created 8 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
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_MIME_UTIL_H_
6 #define WEBKIT_MEDIA_MIME_UTIL_H_
7
8 #include <string>
9 #include <vector>
10
11 namespace WebKit {
12 class WebString;
13 }
14
15 namespace webkit_media {
16
17 namespace mime_util {
darin (slow to review) 2012/04/17 22:41:54 I think it would be better to make a more specific
ddorwin 2012/04/17 23:25:37 Done.
18
19 // Returns whether |key_sytem| is supported at all.
20 // Call IsSupportedKeySystemWithMediaMimeType() to determine whether a
21 // |key_system| supports a specific type of media.
22 bool isKeySystemSupported(const WebKit::WebString& key_system);
23
24 // Returns whether |key_sytem| supports the specified media type and codec(s).
25 bool IsSupportedKeySystemWithMediaMimeType(
26 const std::string& mime_type,
27 const std::vector<std::string>& codecs,
28 const std::string& key_system);
29
30 } // namespace mime_util
31
32 } // namespace webkit_media
33
34 #endif // WEBKIT_MEDIA_MIME_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698