Index: ui/ozone/media/video_decode_factory_ozone.cc |
diff --git a/ui/ozone/media/video_decode_factory_ozone.cc b/ui/ozone/media/video_decode_factory_ozone.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f499f0258a2bf6dfba763d398db3243da295fb69 |
--- /dev/null |
+++ b/ui/ozone/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 "ui/ozone/media/video_decode_factory_ozone.h" |
+ |
+#include "base/logging.h" |
+ |
+namespace ui { |
+ |
+// 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(); |
Ami GONE FROM CHROMIUM
2014/05/07 22:51:27
this and all the other NOTREACHED's below don't ma
vignatti (out of this project)
2014/06/02 19:21:42
Done.
|
+ 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 ui |