Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: chromecast/browser/media/cast_media_client_android.h

Issue 1934193003: media: Set MediaClientAndroid in the GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/browser/media/BUILD.gn ('k') | components/cdm.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CHROMECAST_BROWSER_MEDIA_CAST_MEDIA_CLIENT_ANDROID_H_ 5 #ifndef CHROMECAST_BROWSER_MEDIA_CAST_MEDIA_CLIENT_ANDROID_H_
6 #define CHROMECAST_BROWSER_MEDIA_CAST_MEDIA_CLIENT_ANDROID_H_ 6 #define CHROMECAST_BROWSER_MEDIA_CAST_MEDIA_CLIENT_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chromecast/media/cdm/playready_drm_delegate_android.h" 11 #include "chromecast/media/cdm/playready_drm_delegate_android.h"
12 #include "components/cdm/browser/widevine_drm_delegate_android.h" 12 #include "components/cdm/common/widevine_drm_delegate_android.h"
13 #include "media/base/android/media_client_android.h" 13 #include "media/base/android/media_client_android.h"
14 14
15 namespace chromecast { 15 namespace chromecast {
16 namespace media { 16 namespace media {
17 17
18 class CastMediaClientAndroid : public ::media::MediaClientAndroid { 18 class CastMediaClientAndroid : public ::media::MediaClientAndroid {
19 public: 19 public:
20 CastMediaClientAndroid(); 20 CastMediaClientAndroid();
21 ~CastMediaClientAndroid() override; 21 ~CastMediaClientAndroid() override;
22 22
23 private: 23 private:
24 // ::media::MediaClientAndroid implementation: 24 // ::media::MediaClientAndroid implementation:
25 void AddKeySystemUUIDMappings(KeySystemUuidMap* map) override; 25 void AddKeySystemUUIDMappings(KeySystemUuidMap* map) override;
26 ::media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate( 26 ::media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate(
27 const ::media::UUID& scheme_uuid) override; 27 const ::media::UUID& scheme_uuid) override;
28 28
29 #if defined(PLAYREADY_CDM_AVAILABLE) 29 #if defined(PLAYREADY_CDM_AVAILABLE)
30 PlayreadyDrmDelegateAndroid playready_delegate_; 30 PlayreadyDrmDelegateAndroid playready_delegate_;
31 #endif 31 #endif
32 32
33 cdm::WidevineDrmDelegateAndroid widevine_delegate_; 33 cdm::WidevineDrmDelegateAndroid widevine_delegate_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(CastMediaClientAndroid); 35 DISALLOW_COPY_AND_ASSIGN(CastMediaClientAndroid);
36 }; 36 };
37 37
38 } // namespace media 38 } // namespace media
39 } // namespace chromecast 39 } // namespace chromecast
40 40
41 #endif // CHROMECAST_BROWSER_MEDIA_CAST_MEDIA_CLIENT_ANDROID_H_ 41 #endif // CHROMECAST_BROWSER_MEDIA_CAST_MEDIA_CLIENT_ANDROID_H_
OLDNEW
« no previous file with comments | « chromecast/browser/media/BUILD.gn ('k') | components/cdm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698