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

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

Issue 145873007: Cast: Added missing DCHECKs to ThreadChecker calls and minor cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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/receiver_rtcp_event_subscriber.cc ('k') | media/cast/rtcp/sender_rtcp_event_subscriber.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc
diff --git a/media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc b/media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc
index 8158f8d2163c784792ccc2c2086fc7ca3b82fd94..a19c6a33be1adeb5bbe504729f53dc55410765b8 100644
--- a/media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc
+++ b/media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc
@@ -17,7 +17,7 @@ namespace cast {
namespace {
-const size_t kSizeThreshold = 10u;
+const size_t kMaxEventEntries = 10u;
const int64 kDelayMs = 20L;
} // namespace
@@ -43,7 +43,7 @@ class ReceiverRtcpEventSubscriberTest : public ::testing::Test {
void Init(ReceiverRtcpEventSubscriber::Type type) {
event_subscriber_.reset(
- new ReceiverRtcpEventSubscriber(task_runner_, kSizeThreshold, type));
+ new ReceiverRtcpEventSubscriber(kMaxEventEntries, type));
cast_environment_->Logging()->AddRawEventSubscriber(
event_subscriber_.get());
}
« no previous file with comments | « media/cast/rtcp/receiver_rtcp_event_subscriber.cc ('k') | media/cast/rtcp/sender_rtcp_event_subscriber.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698