| 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 WebMediaCapabilitiesClient_h | 5 #ifndef WebMediaCapabilitiesClient_h |
| 6 #define WebMediaCapabilitiesClient_h | 6 #define WebMediaCapabilitiesClient_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "public/platform/modules/media_capabilities/WebMediaDecodingAbility.h" | 10 #include "public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 struct WebMediaConfiguration; | 14 struct WebMediaConfiguration; |
| 15 | 15 |
| 16 // Interface between Blink and the Media layer. | 16 // Interface between Blink and the Media layer. |
| 17 class WebMediaCapabilitiesClient { | 17 class WebMediaCapabilitiesClient { |
| 18 public: | 18 public: |
| 19 virtual ~WebMediaCapabilitiesClient() = default; | 19 virtual ~WebMediaCapabilitiesClient() = default; |
| 20 | 20 |
| 21 virtual void Query(const WebMediaConfiguration&, | 21 virtual void DecodingInfo( |
| 22 std::unique_ptr<WebMediaCapabilitiesQueryCallbacks>) = 0; | 22 const WebMediaConfiguration&, |
| 23 std::unique_ptr<WebMediaCapabilitiesQueryCallbacks>) = 0; |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 } // namespace blink | 26 } // namespace blink |
| 26 | 27 |
| 27 #endif // WebMediaCapabilitiesClient_h | 28 #endif // WebMediaCapabilitiesClient_h |
| OLD | NEW |