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..49e014706fd7d0e2e679fea818de617b4e6cd47d |
--- /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/WebMediaCapabilitiesQueryCallbacks.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 |