OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_ | 5 #ifndef CHROME_COMMON_CHROME_MEDIA_CLIENT_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_ | 6 #define CHROME_COMMON_CHROME_MEDIA_CLIENT_ANDROID_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/cdm/browser/widevine_drm_delegate_android.h" | 11 #include "components/cdm/common/widevine_drm_delegate_android.h" |
12 #include "media/base/android/media_client_android.h" | 12 #include "media/base/android/media_client_android.h" |
13 | 13 |
14 class ChromeMediaClientAndroid : public media::MediaClientAndroid { | 14 class ChromeMediaClientAndroid : public media::MediaClientAndroid { |
15 public: | 15 public: |
16 ChromeMediaClientAndroid(); | 16 ChromeMediaClientAndroid(); |
17 ~ChromeMediaClientAndroid() override; | 17 ~ChromeMediaClientAndroid() override; |
18 | 18 |
19 private: | 19 private: |
20 // media::MediaClientAndroid implementation: | 20 // media::MediaClientAndroid implementation: |
21 media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate( | 21 media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate( |
22 const std::vector<uint8_t>& scheme_uuid) override; | 22 const std::vector<uint8_t>& scheme_uuid) override; |
23 | 23 |
24 cdm::WidevineDrmDelegateAndroid widevine_delegate_; | 24 cdm::WidevineDrmDelegateAndroid widevine_delegate_; |
25 | 25 |
26 DISALLOW_COPY_AND_ASSIGN(ChromeMediaClientAndroid); | 26 DISALLOW_COPY_AND_ASSIGN(ChromeMediaClientAndroid); |
27 }; | 27 }; |
28 | 28 |
29 #endif // CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_ | 29 #endif // CHROME_COMMON_CHROME_MEDIA_CLIENT_ANDROID_H_ |
OLD | NEW |