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

Side by Side Diff: chrome/common/chrome_media_client_android.h

Issue 1907263003: media: Set MediaClientAndroid in the GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « chrome/common/chrome_content_client.cc ('k') | chrome/common/chrome_media_client_android.cc » ('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 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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/common/chrome_media_client_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698