Move MockVideoDecoder to api/test.
Move MockVideoDecoder from
modules/video_coding/include/mock/mock_video_codec_interface.h
to
api/test/mock_video_decoder.h
The mock encoder has already moved:
https://webrtc-review.googlesource.com/c/src/+/105620
Keeping the old header until downstream projects have been updated.
Bug: webrtc:9722
Change-Id: I4bc849173a04813064212f17761876695ca3fed4
Reviewed-on: https://webrtc-review.googlesource.com/c/105900
Reviewed-by: Niels Moller <nisse@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25170}
diff --git a/api/test/mock_video_decoder.cc b/api/test/mock_video_decoder.cc
new file mode 100644
index 0000000..85ed0e1
--- /dev/null
+++ b/api/test/mock_video_decoder.cc
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#include "api/test/mock_video_decoder.h"
+
+namespace webrtc {
+
+MockDecodedImageCallback::MockDecodedImageCallback() = default;
+MockDecodedImageCallback::~MockDecodedImageCallback() = default;
+MockVideoDecoder::MockVideoDecoder() = default;
+MockVideoDecoder::~MockVideoDecoder() = default;
+
+} // namespace webrtc