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

Unified Diff: webrtc/video/encoder_rtcp_feedback_unittest.cc

Issue 2995433002: Rename ViEEncoder to VideoStreamEncoder. (Closed)
Patch Set: Created 3 years, 4 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 | « webrtc/video/encoder_rtcp_feedback.cc ('k') | webrtc/video/send_statistics_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/encoder_rtcp_feedback_unittest.cc
diff --git a/webrtc/video/encoder_rtcp_feedback_unittest.cc b/webrtc/video/encoder_rtcp_feedback_unittest.cc
index 12c0951ea0e572c0bfc783165e4857d015338be8..718ecac77e6bdaae1814939f1f1691edb6a6b7c6 100644
--- a/webrtc/video/encoder_rtcp_feedback_unittest.cc
+++ b/webrtc/video/encoder_rtcp_feedback_unittest.cc
@@ -16,22 +16,23 @@
#include "webrtc/test/gmock.h"
#include "webrtc/test/gtest.h"
#include "webrtc/video/send_statistics_proxy.h"
-#include "webrtc/video/vie_encoder.h"
+#include "webrtc/video/video_stream_encoder.h"
using ::testing::NiceMock;
namespace webrtc {
-class MockVieEncoder : public ViEEncoder {
+class MockVideoStreamEncoder : public VideoStreamEncoder {
public:
- explicit MockVieEncoder(SendStatisticsProxy* send_stats_proxy)
- : ViEEncoder(1,
- send_stats_proxy,
- VideoSendStream::Config::EncoderSettings("fake", 0, nullptr),
- nullptr,
- nullptr,
- std::unique_ptr<OveruseFrameDetector>()) {}
- ~MockVieEncoder() { Stop(); }
+ explicit MockVideoStreamEncoder(SendStatisticsProxy* send_stats_proxy)
+ : VideoStreamEncoder(1,
+ send_stats_proxy,
+ VideoSendStream::Config::EncoderSettings("fake", 0,
+ nullptr),
+ nullptr,
+ nullptr,
+ std::unique_ptr<OveruseFrameDetector>()) {}
+ ~MockVideoStreamEncoder() { Stop(); }
MOCK_METHOD1(OnReceivedIntraFrameRequest, void(size_t));
};
@@ -54,7 +55,7 @@ class VieKeyRequestTest : public ::testing::Test {
SimulatedClock simulated_clock_;
SendStatisticsProxy send_stats_proxy_;
- MockVieEncoder encoder_;
+ MockVideoStreamEncoder encoder_;
EncoderRtcpFeedback encoder_rtcp_feedback_;
};
« no previous file with comments | « webrtc/video/encoder_rtcp_feedback.cc ('k') | webrtc/video/send_statistics_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698