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_ |