summaryrefslogtreecommitdiffstats
path: root/media/cast/net/rtp/rtp_packetizer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/cast/net/rtp/rtp_packetizer_unittest.cc')
-rw-r--r--media/cast/net/rtp/rtp_packetizer_unittest.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/media/cast/net/rtp/rtp_packetizer_unittest.cc b/media/cast/net/rtp/rtp_packetizer_unittest.cc
index 12cafd6..6669b5e 100644
--- a/media/cast/net/rtp/rtp_packetizer_unittest.cc
+++ b/media/cast/net/rtp/rtp_packetizer_unittest.cc
@@ -8,6 +8,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/test/simple_test_tick_clock.h"
+#include "media/cast/logging/logging_impl.h"
+#include "media/cast/logging/simple_event_subscriber.h"
#include "media/cast/net/pacing/paced_sender.h"
#include "media/cast/net/rtp/packet_storage.h"
#include "media/cast/net/rtp/rtp_parser.h"
@@ -112,8 +114,11 @@ class RtpPacketizerTest : public ::testing::Test {
config_.payload_type = kPayload;
config_.max_payload_length = kMaxPacketLength;
transport_.reset(new TestRtpPacketTransport(config_));
- pacer_.reset(new PacedSender(kTargetBurstSize, kMaxBurstSize,
- &testing_clock_, nullptr, transport_.get(),
+ pacer_.reset(new PacedSender(kTargetBurstSize,
+ kMaxBurstSize,
+ &testing_clock_,
+ &logging_,
+ transport_.get(),
task_runner_));
pacer_->RegisterVideoSsrc(config_.ssrc);
rtp_packetizer_.reset(new RtpPacketizer(
@@ -139,6 +144,7 @@ class RtpPacketizerTest : public ::testing::Test {
PacketStorage packet_storage_;
RtpPacketizerConfig config_;
scoped_ptr<TestRtpPacketTransport> transport_;
+ LoggingImpl logging_;
scoped_ptr<PacedSender> pacer_;
scoped_ptr<RtpPacketizer> rtp_packetizer_;