Delete unused downloads page asset.
[chromium-blink-merge.git] / chromecast / media / cdm / playready_drm_delegate_android.h
blob3a934c456d2035928e59b904ded254a2aa4eae5b
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
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_MEDIA_CDM_PLAYREADY_DRM_DELEGATE_ANDROID_H_
6 #define CHROMECAST_MEDIA_CDM_PLAYREADY_DRM_DELEGATE_ANDROID_H_
8 #include "base/macros.h"
9 #include "media/base/android/media_drm_bridge_delegate.h"
11 namespace chromecast {
12 namespace media {
14 class PlayreadyDrmDelegateAndroid : public ::media::MediaDrmBridgeDelegate {
15 public:
16 PlayreadyDrmDelegateAndroid();
17 ~PlayreadyDrmDelegateAndroid() override;
19 // ::media::MediaDrmBridgeDelegate implementation:
20 const ::media::UUID GetUUID() const override;
21 bool OnCreateSession(
22 const ::media::EmeInitDataType init_data_type,
23 const std::vector<uint8_t>& init_data,
24 std::vector<uint8_t>* init_data_out,
25 std::vector<std::string>* optional_parameters_out) override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(PlayreadyDrmDelegateAndroid);
31 } // namespace media
32 } // namespace chromecast
34 #endif // CHROMECAST_MEDIA_CDM_PLAYREADY_DRM_DELEGATE_ANDROID_H_