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

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

Issue 10020053: Initial implementation of Encrypted Media Extensions in Chrome. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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_SUPPORTED_KEY_SYSTEMS_IMPL_H_
6 #define WEBKIT_MEDIA_SUPPORTED_KEY_SYSTEMS_IMPL_H_
7
8 //#include "base/compiler_specific.h"
scherkus (not reviewing) 2012/04/12 20:18:41 ??
ddorwin 2012/04/12 23:41:23 Done.
9 #include <string>
10 #include <vector>
11
12 namespace WebKit {
13 class WebString;
14 }
15
16 namespace webkit_media {
17
18 class SupportedKeySystems {
scherkus (not reviewing) 2012/04/12 20:18:41 this might as well be a namespace for now as the c
ddorwin 2012/04/12 23:41:23 Done.
19 public:
20 static bool isKeySystemSupported(const WebKit::WebString& keySystem);
21
22 static bool IsSupportedKeySystemWithMediaMimeType(
23 const std::string& mime_type,
24 const std::vector<std::string>& codecs,
25 const std::string& key_system);
26
27 private:
28 static bool IsSupportedKeySystemWithContainerAndCodec(
scherkus (not reviewing) 2012/04/12 20:18:41 nit: might as well move this into the .cc
ddorwin 2012/04/12 23:41:23 Done.
29 const std::string& mime_type,
30 const std::string& codec,
31 const std::string& key_system);
32 };
33
34 } // namespace webkit_media
35
36 #endif // WEBKIT_MEDIA_SUPPORTED_KEY_SYSTEMS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698