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

Unified Diff: webrtc/modules/video_coding/test/vcm_payload_sink_factory.h

Issue 2748183006: Delete unused test code in modules/video_coding/test/ (Closed)
Patch Set: Make NullEvent private so that more tests won't start using it. Created 3 years, 9 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
Index: webrtc/modules/video_coding/test/vcm_payload_sink_factory.h
diff --git a/webrtc/modules/video_coding/test/vcm_payload_sink_factory.h b/webrtc/modules/video_coding/test/vcm_payload_sink_factory.h
deleted file mode 100644
index 8d6eb6eadf6f67b498b6f0da0154a617ee337777..0000000000000000000000000000000000000000
--- a/webrtc/modules/video_coding/test/vcm_payload_sink_factory.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 2013 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.
- */
-
-#ifndef WEBRTC_MODULES_VIDEO_CODING_TEST_VCM_PAYLOAD_SINK_FACTORY_H_
-#define WEBRTC_MODULES_VIDEO_CODING_TEST_VCM_PAYLOAD_SINK_FACTORY_H_
-
-#include <memory>
-#include <string>
-#include <vector>
-
-#include "webrtc/base/constructormagic.h"
-#include "webrtc/modules/video_coding/include/video_coding_defines.h"
-#include "webrtc/modules/video_coding/test/rtp_player.h"
-
-class NullEventFactory;
-
-namespace webrtc {
-class Clock;
-class CriticalSectionWrapper;
-
-namespace rtpplayer {
-class VcmPayloadSinkFactory : public PayloadSinkFactoryInterface {
- public:
- VcmPayloadSinkFactory(const std::string& base_out_filename,
- Clock* clock,
- bool protection_enabled,
- VCMVideoProtection protection_method,
- int64_t rtt_ms,
- uint32_t render_delay_ms,
- uint32_t min_playout_delay_ms);
- virtual ~VcmPayloadSinkFactory();
-
- // PayloadSinkFactoryInterface
- virtual PayloadSinkInterface* Create(RtpStreamInterface* stream);
-
- int DecodeAndProcessAll(bool decode_dual_frame);
- bool ProcessAll();
- bool DecodeAll();
-
- private:
- class VcmPayloadSink;
- friend class VcmPayloadSink;
- typedef std::vector<VcmPayloadSink*> Sinks;
-
- void Remove(VcmPayloadSink* sink);
-
- std::string base_out_filename_;
- Clock* clock_;
- bool protection_enabled_;
- VCMVideoProtection protection_method_;
- int64_t rtt_ms_;
- uint32_t render_delay_ms_;
- uint32_t min_playout_delay_ms_;
- std::unique_ptr<NullEventFactory> null_event_factory_;
- std::unique_ptr<CriticalSectionWrapper> crit_sect_;
- Sinks sinks_;
-
- RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(VcmPayloadSinkFactory);
-};
-} // namespace rtpplayer
-} // namespace webrtc
-
-#endif // WEBRTC_MODULES_VIDEO_CODING_TEST_VCM_PAYLOAD_SINK_FACTORY_H_
« no previous file with comments | « webrtc/modules/video_coding/test/tester_main.cc ('k') | webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698