OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 MEDIA_BASE_ANDROID_CDM_FACTORY_H_ | |
6 #define MEDIA_BASE_ANDROID_CDM_FACTORY_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "media/base/media_export.h" | |
12 #include "media/base/media_keys.h" | |
13 | |
14 namespace media { | |
15 | |
16 // Creates a CDM for |key_system|. Returns NULL if the CDM cannot be created. | |
17 scoped_ptr<MediaKeys> MEDIA_EXPORT | |
18 CreateCdm(const std::string& key_system, | |
ddorwin
2014/05/13 00:59:38
This name could conflict with other code in media.
damienv1
2014/05/13 17:07:07
This is a static function that is invoked to creat
ddorwin
2014/05/13 17:17:37
If it's only used for platform-based (browser proc
xhwang
2014/05/14 16:42:06
Done.
| |
19 const SessionCreatedCB& session_created_cb, | |
20 const SessionMessageCB& session_message_cb, | |
21 const SessionReadyCB& session_ready_cb, | |
22 const SessionClosedCB& session_closed_cb, | |
23 const SessionErrorCB& session_error_cb); | |
24 | |
25 } // namespace media | |
26 | |
27 #endif // MEDIA_BASE_ANDROID_CDM_FACTORY_H_ | |
damienv1
2014/05/12 23:14:26
This file could already be part of media/base/ (at
xhwang
2014/05/14 16:42:06
Good point. Done.
| |
OLD | NEW |