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

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

Issue 178073004: Cast: IPC from browser to renderer to send packet events from transport to cast library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed hubbe's comments 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
Index: media/cast/rtcp/rtcp_unittest.cc
diff --git a/media/cast/rtcp/rtcp_unittest.cc b/media/cast/rtcp/rtcp_unittest.cc
index cf74ef55fe3705176e30d9bd6eea37eb32d7b336..0e9aa6373e5d8ebeaf0a021e8c3cf34d5ddd6d7d 100644
--- a/media/cast/rtcp/rtcp_unittest.cc
+++ b/media/cast/rtcp/rtcp_unittest.cc
@@ -163,6 +163,7 @@ class RtcpTest : public ::testing::Test {
testing_clock_,
transport_config,
base::Bind(&UpdateCastTransportStatus),
+ base::Bind(&IgnoreRawEvents),
task_runner_,
&sender_to_receiver_));
EXPECT_CALL(mock_sender_feedback_, OnReceivedCastFeedback(_)).Times(0);
@@ -174,6 +175,10 @@ class RtcpTest : public ::testing::Test {
EXPECT_EQ(status, transport::TRANSPORT_INITIALIZED);
}
+ static void IgnoreRawEvents(const std::vector<PacketEvent>& packet_events) {
+ // Do nothing, we don't care about logging in this test.
hubbe 2014/02/26 01:01:07 Can we care?
imcheng 2014/02/26 10:08:26 See other reply.
+ }
+
void RunTasks(int during_ms) {
for (int i = 0; i < during_ms; ++i) {
// Call process the timers every 1 ms.

Powered by Google App Engine
This is Rietveld 408576698