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

Unified 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: review feedback 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 side-by-side diff with in-line comments
Download patch
Index: webkit/media/mime_util.h
diff --git a/webkit/media/mime_util.h b/webkit/media/mime_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..cccb01032623cee898de831ffb3bda166c595ee9
--- /dev/null
+++ b/webkit/media/mime_util.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_MEDIA_SUPPORTED_KEY_SYSTEMS_IMPL_H_
scherkus (not reviewing) 2012/04/13 02:43:59 header guard is incorrect
ddorwin 2012/04/13 21:48:49 Done.
+#define WEBKIT_MEDIA_SUPPORTED_KEY_SYSTEMS_IMPL_H_
+
+#include <string>
+#include <vector>
+
+namespace WebKit {
+class WebString;
+}
+
+namespace webkit_media {
+
+namespace mime_util {
+
+bool isKeySystemSupported(const WebKit::WebString& keySystem);
scherkus (not reviewing) 2012/04/13 02:43:59 docs on these methods and unix_hacker args
ddorwin 2012/04/13 21:48:49 Done.
+
+bool IsSupportedKeySystemWithMediaMimeType(
+ const std::string& mime_type,
+ const std::vector<std::string>& codecs,
+ const std::string& key_system);
+
+} // namespace mime_util
+
+} // namespace webkit_media
+
+#endif // WEBKIT_MEDIA_SUPPORTED_KEY_SYSTEMS_IMPL_H_
scherkus (not reviewing) 2012/04/13 02:43:59 don't forget this one!
ddorwin 2012/04/13 21:48:49 Done.

Powered by Google App Engine
This is Rietveld 408576698