Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: media/cast/receiver/video_decoder_unittest.cc

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/receiver/video_decoder.cc ('k') | media/cast/rtcp/mock_rtcp_receiver_feedback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/receiver/video_decoder_unittest.cc
diff --git a/media/cast/receiver/video_decoder_unittest.cc b/media/cast/receiver/video_decoder_unittest.cc
index 01a70d2e9366ed1a867bfaceac7ce21c3c3af4c9..c7c39ad2d06b1fc71e6cd9fe92b1676cc78ecfe2 100644
--- a/media/cast/receiver/video_decoder_unittest.cc
+++ b/media/cast/receiver/video_decoder_unittest.cc
@@ -11,9 +11,9 @@
#include "base/time/time.h"
#include "media/cast/cast_config.h"
#include "media/cast/receiver/video_decoder.h"
+#include "media/cast/sender/vp8_encoder.h"
#include "media/cast/test/utility/standalone_cast_environment.h"
#include "media/cast/test/utility/video_utility.h"
-#include "media/cast/video_sender/codecs/vp8/vp8_encoder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
@@ -35,7 +35,7 @@ VideoSenderConfig GetVideoSenderConfigForTest() {
} // namespace
-class VideoDecoderTest : public ::testing::TestWithParam<transport::Codec> {
+class VideoDecoderTest : public ::testing::TestWithParam<Codec> {
public:
VideoDecoderTest()
: cast_environment_(new StandaloneCastEnvironment()),
@@ -73,10 +73,10 @@ class VideoDecoderTest : public ::testing::TestWithParam<transport::Codec> {
PopulateVideoFrame(video_frame, 0);
// Encode |frame| into |encoded_frame->data|.
- scoped_ptr<transport::EncodedFrame> encoded_frame(
- new transport::EncodedFrame());
+ scoped_ptr<EncodedFrame> encoded_frame(
+ new EncodedFrame());
// Test only supports VP8, currently.
- CHECK_EQ(transport::CODEC_VIDEO_VP8, GetParam());
+ CHECK_EQ(CODEC_VIDEO_VP8, GetParam());
vp8_encoder_.Encode(video_frame, encoded_frame.get());
encoded_frame->frame_id = last_frame_id_ + 1 + num_dropped_frames;
last_frame_id_ = encoded_frame->frame_id;
@@ -177,7 +177,7 @@ TEST_P(VideoDecoderTest, RecoversFromDroppedFrames) {
INSTANTIATE_TEST_CASE_P(VideoDecoderTestScenarios,
VideoDecoderTest,
- ::testing::Values(transport::CODEC_VIDEO_VP8));
+ ::testing::Values(CODEC_VIDEO_VP8));
} // namespace cast
} // namespace media
« no previous file with comments | « media/cast/receiver/video_decoder.cc ('k') | media/cast/rtcp/mock_rtcp_receiver_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698