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_MOJO_SERVICES_MOJO_CDM_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_CDM_H_ |
6 #define MEDIA_MOJO_SERVICES_MOJO_CDM_H_ | 6 #define MEDIA_MOJO_SERVICES_MOJO_CDM_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "media/base/cdm_context.h" | 15 #include "media/base/cdm_context.h" |
14 #include "media/base/cdm_initialized_promise.h" | 16 #include "media/base/cdm_initialized_promise.h" |
15 #include "media/base/media_keys.h" | 17 #include "media/base/media_keys.h" |
16 #include "media/mojo/interfaces/content_decryption_module.mojom.h" | 18 #include "media/mojo/interfaces/content_decryption_module.mojom.h" |
17 #include "media/mojo/services/mojo_type_trait.h" | 19 #include "media/mojo/services/mojo_type_trait.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 SessionExpirationUpdateCB session_expiration_update_cb_; | 141 SessionExpirationUpdateCB session_expiration_update_cb_; |
140 | 142 |
141 base::WeakPtrFactory<MojoCdm> weak_factory_; | 143 base::WeakPtrFactory<MojoCdm> weak_factory_; |
142 | 144 |
143 DISALLOW_COPY_AND_ASSIGN(MojoCdm); | 145 DISALLOW_COPY_AND_ASSIGN(MojoCdm); |
144 }; | 146 }; |
145 | 147 |
146 } // namespace media | 148 } // namespace media |
147 | 149 |
148 #endif // MEDIA_MOJO_SERVICES_MOJO_CDM_H_ | 150 #endif // MEDIA_MOJO_SERVICES_MOJO_CDM_H_ |
OLD | NEW |