OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_ |
6 #define MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_ | 6 #define MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "media/blink/media_blink_export.h" | 10 #include "media/blink/media_blink_export.h" |
11 #include "third_party/WebKit/public/platform/modules/media_capabilities/WebMedia
CapabilitiesClient.h" | 11 #include "third_party/WebKit/public/platform/modules/media_capabilities/WebMedia
CapabilitiesClient.h" |
12 | 12 |
13 namespace media { | 13 namespace media { |
14 | 14 |
15 class MEDIA_BLINK_EXPORT WebMediaCapabilitiesClientImpl | 15 class MEDIA_BLINK_EXPORT WebMediaCapabilitiesClientImpl |
16 : NON_EXPORTED_BASE(public blink::WebMediaCapabilitiesClient) { | 16 : NON_EXPORTED_BASE(public blink::WebMediaCapabilitiesClient) { |
17 public: | 17 public: |
18 WebMediaCapabilitiesClientImpl(); | 18 WebMediaCapabilitiesClientImpl(); |
19 ~WebMediaCapabilitiesClientImpl() override; | 19 ~WebMediaCapabilitiesClientImpl() override; |
20 | 20 |
21 // Implementation of blink::WebMediaCapabilitiesClient. | 21 // Implementation of blink::WebMediaCapabilitiesClient. |
22 void Query( | 22 void DecodingInfo( |
23 const blink::WebMediaConfiguration&, | 23 const blink::WebMediaConfiguration&, |
24 std::unique_ptr<blink::WebMediaCapabilitiesQueryCallbacks>) override; | 24 std::unique_ptr<blink::WebMediaCapabilitiesQueryCallbacks>) override; |
25 | 25 |
26 private: | 26 private: |
27 DISALLOW_COPY_AND_ASSIGN(WebMediaCapabilitiesClientImpl); | 27 DISALLOW_COPY_AND_ASSIGN(WebMediaCapabilitiesClientImpl); |
28 }; | 28 }; |
29 | 29 |
30 } // namespace media | 30 } // namespace media |
31 | 31 |
32 #endif // MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_ | 32 #endif // MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_ |
OLD | NEW |