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

Unified Diff: media/blink/webmediacapabilitiesclient_impl.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
« no previous file with comments | « media/blink/BUILD.gn ('k') | media/blink/webmediacapabilitiesclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ea35b60d207a804a78ab260fcdfa4166ccbb700d
--- /dev/null
+++ b/media/blink/webmediacapabilitiesclient_impl.h
@@ -0,0 +1,32 @@
+// 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/compiler_specific.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
+ : NON_EXPORTED_BASE(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_
« no previous file with comments | « media/blink/BUILD.gn ('k') | media/blink/webmediacapabilitiesclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698