Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesClient.h

Issue 2706313002: Media Capabilities: add plumbing between Blink and media/blink/. (Closed)
Patch Set: oups Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698