Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |