OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_CDM_FACTORY_H_ | 5 #ifndef MEDIA_BASE_CDM_FACTORY_H_ |
6 #define MEDIA_BASE_CDM_FACTORY_H_ | 6 #define MEDIA_BASE_CDM_FACTORY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
12 #include "media/base/media_keys.h" | 13 #include "media/base/media_keys.h" |
13 | 14 |
14 class GURL; | 15 class GURL; |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 | 18 |
18 // Callback used when CDM is created. |error_message| only used if | 19 // Callback used when CDM is created. |error_message| only used if |
19 // MediaKeys is null (i.e. CDM can't be created). | 20 // MediaKeys is null (i.e. CDM can't be created). |
(...skipping 20 matching lines...) Expand all Loading... |
40 const SessionExpirationUpdateCB& session_expiration_update_cb, | 41 const SessionExpirationUpdateCB& session_expiration_update_cb, |
41 const CdmCreatedCB& cdm_created_cb) = 0; | 42 const CdmCreatedCB& cdm_created_cb) = 0; |
42 | 43 |
43 private: | 44 private: |
44 DISALLOW_COPY_AND_ASSIGN(CdmFactory); | 45 DISALLOW_COPY_AND_ASSIGN(CdmFactory); |
45 }; | 46 }; |
46 | 47 |
47 } // namespace media | 48 } // namespace media |
48 | 49 |
49 #endif // MEDIA_BASE_CDM_FACTORY_H_ | 50 #endif // MEDIA_BASE_CDM_FACTORY_H_ |
OLD | NEW |