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

Unified Diff: media/blink/webmediacapabilitiesclient_impl.h

Issue 2706313002: Media Capabilities: add plumbing between Blink and media/blink/. (Closed)
Patch Set: haraken comment 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: media/blink/webmediacapabilitiesclient_impl.h
diff --git a/media/blink/webmediacapabilitiesclient_impl.h b/media/blink/webmediacapabilitiesclient_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..bc3e882dc7189840c62dfd1912e5162cda7d0295
--- /dev/null
+++ b/media/blink/webmediacapabilitiesclient_impl.h
@@ -0,0 +1,31 @@
+// 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 MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_
+#define MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_
+
+#include "base/macros.h"
+#include "media/blink/media_blink_export.h"
+#include "third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesClient.h"
+
+namespace media {
+
+class MEDIA_BLINK_EXPORT WebMediaCapabilitiesClientImpl
+ : public blink::WebMediaCapabilitiesClient {
+ public:
+ WebMediaCapabilitiesClientImpl();
+ ~WebMediaCapabilitiesClientImpl() override;
+
+ // Implementation of blink::WebMediaCapabilitiesClient.
+ void query(
+ const blink::WebMediaConfiguration&,
+ std::unique_ptr<blink::WebMediaCapabilitiesQueryCallbacks>) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WebMediaCapabilitiesClientImpl);
+};
+
+} // namespace media
+
+#endif // MEDIA_BLINK_WEBMEDIACAPABILITIESCLIENT_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698