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

Unified Diff: content/public/renderer/video_encode_accelerator.h

Issue 98183007: Add content API CreateVideoEncodeAccelerator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move files to content/renderer. Add DEPS include rule. Created 6 years, 11 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 | « content/public/renderer/DEPS ('k') | content/public/renderer/video_encode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/video_encode_accelerator.h
diff --git a/content/public/renderer/video_encode_accelerator.h b/content/public/renderer/video_encode_accelerator.h
new file mode 100644
index 0000000000000000000000000000000000000000..4231cff2d09eb42d7c2ed3c85afc15abfdaa0d59
--- /dev/null
+++ b/content/public/renderer/video_encode_accelerator.h
@@ -0,0 +1,20 @@
+// Copyright 2014 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 CONTENT_PUBLIC_RENDERER_VIDEO_ENCODE_ACCELERATOR_H_
+#define CONTENT_PUBLIC_RENDERER_VIDEO_ENCODE_ACCELERATOR_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "content/common/content_export.h"
+#include "media/video/video_encode_accelerator.h"
+
+namespace content {
+
+// Generate an instance of media::VideoEncodeAccelerator.
+CONTENT_EXPORT scoped_ptr<media::VideoEncodeAccelerator>
+CreateVideoEncodeAccelerator(media::VideoEncodeAccelerator::Client* client);
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_RENDERER_VIDEO_ENCODE_ACCELERATOR_H_
« no previous file with comments | « content/public/renderer/DEPS ('k') | content/public/renderer/video_encode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698