Index: content/common/gpu/media/video_decode_factory_ozone.cc |
diff --git a/content/common/gpu/media/video_decode_factory_ozone.cc b/content/common/gpu/media/video_decode_factory_ozone.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..063a3cb61dca7aebc1a5bf944f8ff6e5f006e970 |
--- /dev/null |
+++ b/content/common/gpu/media/video_decode_factory_ozone.cc |
@@ -0,0 +1,67 @@ |
+// Copyright (c) 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. |
+ |
+#include "content/common/gpu/media/video_decode_factory_ozone.h" |
+ |
+#include "base/logging.h" |
+ |
+namespace content { |
+ |
+// static |
+VideoDecodeFactoryOzone* VideoDecodeFactoryOzone::impl_ = NULL; |
+ |
+VideoDecodeFactoryOzone::VideoDecodeFactoryOzone() { |
+} |
+ |
+VideoDecodeFactoryOzone::~VideoDecodeFactoryOzone() { |
+} |
+ |
+VideoDecodeFactoryOzone* VideoDecodeFactoryOzone::GetInstance() { |
+ CHECK(impl_) << "No VideoDecodeFactoryOzone implementation set."; |
+ return impl_; |
+} |
+ |
+void VideoDecodeFactoryOzone::SetInstance(VideoDecodeFactoryOzone* impl) { |
+ impl_ = impl; |
+} |
+ |
+bool VideoDecodeFactoryOzone::Initialize(media::VideoCodecProfile profile, |
+ Client* client) { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+void VideoDecodeFactoryOzone::Decode( |
+ const media::BitstreamBuffer& bitstream_buffer) { |
+ NOTREACHED(); |
+ return; |
+} |
+ |
+void VideoDecodeFactoryOzone::AssignPictureBuffers( |
+ const std::vector<media::PictureBuffer>& buffers) { |
+ NOTREACHED(); |
+ return; |
+} |
+ |
+void VideoDecodeFactoryOzone::ReusePictureBuffer(int32 picture_buffer_id) { |
+ NOTREACHED(); |
+ return; |
+} |
+ |
+void VideoDecodeFactoryOzone::Flush() { |
+ NOTREACHED(); |
+ return; |
+} |
+ |
+void VideoDecodeFactoryOzone::Reset() { |
+ NOTREACHED(); |
+ return; |
+} |
+ |
+void VideoDecodeFactoryOzone::Destroy() { |
+ NOTIMPLEMENTED(); |
+ return; |
+} |
+ |
+} // namespace content |