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

Unified Diff: media/cast/rtcp/rtcp_unittest.cc

Issue 210303003: Cast: Remove LoggingStats in favor of event subscribers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 6 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
« no previous file with comments | « media/cast/rtcp/rtcp_sender_unittest.cc ('k') | media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/rtcp_unittest.cc
diff --git a/media/cast/rtcp/rtcp_unittest.cc b/media/cast/rtcp/rtcp_unittest.cc
index ea84ad712487c4b114b5e6cbd9a1256c1b115283..628f0d21cb0da9a447789846fb81fd85128f540b 100644
--- a/media/cast/rtcp/rtcp_unittest.cc
+++ b/media/cast/rtcp/rtcp_unittest.cc
@@ -143,13 +143,11 @@ class RtcpTest : public ::testing::Test {
RtcpTest()
: testing_clock_(new base::SimpleTestTickClock()),
task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)),
- logging_config_(GetDefaultCastSenderLoggingConfig()),
cast_environment_(new CastEnvironment(
scoped_ptr<base::TickClock>(testing_clock_).Pass(),
task_runner_,
task_runner_,
- task_runner_,
- logging_config_)),
+ task_runner_)),
sender_to_receiver_(testing_clock_),
receiver_to_sender_(cast_environment_, testing_clock_),
rtp_sender_stats_(kVideoFrequency) {
@@ -160,7 +158,6 @@ class RtcpTest : public ::testing::Test {
NULL,
testing_clock_,
dummy_endpoint,
- logging_config_,
base::Bind(&UpdateCastTransportStatus),
transport::BulkRawEventsCallback(),
base::TimeDelta(),
@@ -187,7 +184,6 @@ class RtcpTest : public ::testing::Test {
base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment.
scoped_refptr<test::FakeSingleThreadTaskRunner> task_runner_;
- CastLoggingConfig logging_config_;
scoped_refptr<CastEnvironment> cast_environment_;
RtcpTestPacketSender sender_to_receiver_;
scoped_ptr<transport::CastTransportSenderImpl> transport_sender_;
« no previous file with comments | « media/cast/rtcp/rtcp_sender_unittest.cc ('k') | media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698