| Index: third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesClient.h
|
| diff --git a/third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesClient.h b/third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesClient.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e98dbd5e84455ac1bd76e12a143d8f0d23757184
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesClient.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebMediaCapabilitiesClient_h
|
| +#define WebMediaCapabilitiesClient_h
|
| +
|
| +#include <memory>
|
| +
|
| +#include "public/platform/modules/media_capabilities/WebMediaDecodingAbility.h"
|
| +
|
| +namespace blink {
|
| +
|
| +struct WebMediaConfiguration;
|
| +
|
| +// Interface between Blink and the Media layer.
|
| +class WebMediaCapabilitiesClient {
|
| + public:
|
| + virtual ~WebMediaCapabilitiesClient() = default;
|
| +
|
| + virtual void query(const WebMediaConfiguration&,
|
| + std::unique_ptr<WebMediaCapabilitiesQueryCallbacks>) = 0;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebMediaCapabilitiesClient_h
|
|
|