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