ExtensionSyncService: listen for relevant changes instead of being explicitly called...
[chromium-blink-merge.git] / chrome / browser / android / chrome_media_client_android.h
blobd489e420c53883a275a0b1119239bcaf565304f3
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 CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_
8 #include "base/macros.h"
9 #include "components/cdm/browser/widevine_drm_delegate_android.h"
10 #include "media/base/android/media_client_android.h"
12 class ChromeMediaClientAndroid : public media::MediaClientAndroid {
13 public:
14 ChromeMediaClientAndroid();
15 ~ChromeMediaClientAndroid() override;
17 private:
18 // media::MediaClientAndroid implementation:
19 media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate(
20 const std::vector<uint8_t>& scheme_uuid) override;
22 cdm::WidevineDrmDelegateAndroid widevine_delegate_;
24 DISALLOW_COPY_AND_ASSIGN(ChromeMediaClientAndroid);
27 #endif // CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_