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 CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ |
6 #define CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ | 6 #define CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "components/permissions/permission_status.mojom.h" |
18 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
19 #include "content/common/media/cdm_messages.h" | 20 #include "content/common/media/cdm_messages.h" |
20 #include "content/common/media/cdm_messages_enums.h" | 21 #include "content/common/media/cdm_messages_enums.h" |
21 #include "content/public/browser/browser_message_filter.h" | 22 #include "content/public/browser/browser_message_filter.h" |
22 #include "ipc/ipc_message.h" | 23 #include "ipc/ipc_message.h" |
23 #include "media/base/cdm_promise.h" | 24 #include "media/base/cdm_promise.h" |
24 #include "media/base/eme_constants.h" | 25 #include "media/base/eme_constants.h" |
25 #include "media/base/media_keys.h" | 26 #include "media/base/media_keys.h" |
26 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat
us.mojom.h" | |
27 #include "url/gurl.h" | 27 #include "url/gurl.h" |
28 | 28 |
29 struct CdmHostMsg_CreateSessionAndGenerateRequest_Params; | 29 struct CdmHostMsg_CreateSessionAndGenerateRequest_Params; |
30 | 30 |
31 namespace media { | 31 namespace media { |
32 class CdmFactory; | 32 class CdmFactory; |
33 } | 33 } |
34 | 34 |
35 namespace content { | 35 namespace content { |
36 | 36 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 std::map<uint64_t, GURL> cdm_security_origin_map_; | 216 std::map<uint64_t, GURL> cdm_security_origin_map_; |
217 | 217 |
218 base::WeakPtrFactory<BrowserCdmManager> weak_ptr_factory_; | 218 base::WeakPtrFactory<BrowserCdmManager> weak_ptr_factory_; |
219 | 219 |
220 DISALLOW_COPY_AND_ASSIGN(BrowserCdmManager); | 220 DISALLOW_COPY_AND_ASSIGN(BrowserCdmManager); |
221 }; | 221 }; |
222 | 222 |
223 } // namespace content | 223 } // namespace content |
224 | 224 |
225 #endif // CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ | 225 #endif // CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ |
OLD | NEW |