| Index: media/base/android/mock_media_codec_bridge.cc
|
| diff --git a/media/base/android/mock_media_codec_bridge.cc b/media/base/android/mock_media_codec_bridge.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..50ef75d85852e151ccc0a889b94ca1351e8015b3
|
| --- /dev/null
|
| +++ b/media/base/android/mock_media_codec_bridge.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2016 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 "media/base/android/mock_media_codec_bridge.h"
|
| +
|
| +#include "media/base/subsample_entry.h"
|
| +
|
| +using ::testing::_;
|
| +using ::testing::Return;
|
| +
|
| +namespace media {
|
| +
|
| +MockMediaCodecBridge::MockMediaCodecBridge() {
|
| + ON_CALL(*this, DequeueInputBuffer(_, _))
|
| + .WillByDefault(Return(MEDIA_CODEC_DEQUEUE_INPUT_AGAIN_LATER));
|
| + ON_CALL(*this, DequeueOutputBuffer(_, _, _, _, _, _, _))
|
| + .WillByDefault(Return(MEDIA_CODEC_DEQUEUE_OUTPUT_AGAIN_LATER));
|
| +}
|
| +
|
| +MockMediaCodecBridge::~MockMediaCodecBridge() {}
|
| +
|
| +} // namespace media
|
|
|