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 CHROMECAST_MEDIA_CDM_cast_cdm_H_ | 5 #ifndef CHROMECAST_MEDIA_CDM_cast_cdm_H_ |
6 #define CHROMECAST_MEDIA_CDM_cast_cdm_H_ | 6 #define CHROMECAST_MEDIA_CDM_cast_cdm_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/sequenced_task_runner_helpers.h" | 17 #include "base/sequenced_task_runner_helpers.h" |
18 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
19 #include "chromecast/media/base/media_resource_tracker.h" | 19 #include "chromecast/media/base/media_resource_tracker.h" |
20 #include "chromecast/media/cdm/cast_cdm_context.h" | 20 #include "chromecast/media/cdm/cast_cdm_context.h" |
21 #include "chromecast/public/media/cast_key_status.h" | 21 #include "chromecast/public/media/cast_key_status.h" |
22 #include "media/base/cdm_context.h" | 22 #include "media/base/cdm_context.h" |
23 #include "media/base/media_keys.h" | 23 #include "media/base/media_keys.h" |
24 #include "media/base/player_tracker.h" | 24 #include "media/base/player_tracker.h" |
25 #include "media/cdm/json_web_key.h" | 25 #include "media/cdm/json_web_key.h" |
26 | 26 |
27 namespace base { | |
28 class SingleThreadTaskRunner; | |
29 } | |
30 | |
31 namespace media { | 27 namespace media { |
32 class PlayerTrackerImpl; | 28 class PlayerTrackerImpl; |
33 } | 29 } |
34 | 30 |
35 namespace chromecast { | 31 namespace chromecast { |
36 namespace media { | 32 namespace media { |
37 class DecryptContextImpl; | 33 class DecryptContextImpl; |
38 | 34 |
39 // CastCdm is an extension of MediaKeys that provides common | 35 // CastCdm is an extension of MediaKeys that provides common |
40 // functionality across CDM implementations. | 36 // functionality across CDM implementations. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 97 |
102 base::ThreadChecker thread_checker_; | 98 base::ThreadChecker thread_checker_; |
103 | 99 |
104 DISALLOW_COPY_AND_ASSIGN(CastCdm); | 100 DISALLOW_COPY_AND_ASSIGN(CastCdm); |
105 }; | 101 }; |
106 | 102 |
107 } // namespace media | 103 } // namespace media |
108 } // namespace chromecast | 104 } // namespace chromecast |
109 | 105 |
110 #endif // CHROMECAST_MEDIA_CDM_cast_cdm_H_ | 106 #endif // CHROMECAST_MEDIA_CDM_cast_cdm_H_ |
OLD | NEW |