OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CHROME_BROWSER_MEDIA_ANDROID_CDM_MEDIA_DRM_STORAGE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ANDROID_CDM_MEDIA_DRM_STORAGE_FACTORY_H_ |
6 #define CHROME_BROWSER_MEDIA_ANDROID_CDM_MEDIA_DRM_STORAGE_FACTORY_H_ | 6 #define CHROME_BROWSER_MEDIA_ANDROID_CDM_MEDIA_DRM_STORAGE_FACTORY_H_ |
7 | 7 |
8 #include "media/mojo/interfaces/media_drm_storage.mojom.h" | 8 #include "media/mojo/interfaces/media_drm_storage.mojom.h" |
| 9 #include "services/service_manager/public/cpp/bind_source_info.h" |
9 | 10 |
10 namespace content { | 11 namespace content { |
11 class RenderFrameHost; | 12 class RenderFrameHost; |
12 } | 13 } |
13 | 14 |
14 namespace chrome { | 15 namespace chrome { |
15 | 16 |
16 void CreateMediaDrmStorage(content::RenderFrameHost* render_frame_host, | 17 void CreateMediaDrmStorage(content::RenderFrameHost* render_frame_host, |
| 18 const service_manager::BindSourceInfo& source_info, |
17 media::mojom::MediaDrmStorageRequest request); | 19 media::mojom::MediaDrmStorageRequest request); |
18 | 20 |
19 } // namespace chrome | 21 } // namespace chrome |
20 | 22 |
21 #endif // CHROME_BROWSER_MEDIA_ANDROID_CDM_MEDIA_DRM_STORAGE_FACTORY_H_ | 23 #endif // CHROME_BROWSER_MEDIA_ANDROID_CDM_MEDIA_DRM_STORAGE_FACTORY_H_ |
OLD | NEW |