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

Side by Side Diff: media/cast/net/rtp/cast_message_builder_unittest.cc

Issue 1520613004: cast: Split Rtcp into two for sender and receiver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timestamp
Patch Set: Rebased Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « media/cast/net/rtp/cast_message_builder.h ('k') | media/cast/net/rtp/framer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/test/simple_test_tick_clock.h" 10 #include "base/test/simple_test_tick_clock.h"
11 #include "media/cast/net/rtcp/rtcp.h" 11 #include "media/cast/net/rtcp/rtcp_defines.h"
12 #include "media/cast/net/rtp/cast_message_builder.h" 12 #include "media/cast/net/rtp/cast_message_builder.h"
13 #include "media/cast/net/rtp/framer.h" 13 #include "media/cast/net/rtp/framer.h"
14 #include "media/cast/net/rtp/rtp_defines.h" 14 #include "media/cast/net/rtp/rtp_defines.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace media { 17 namespace media {
18 namespace cast { 18 namespace cast {
19 19
20 namespace { 20 namespace {
21 static const uint32_t kSsrc = 0x1234; 21 static const uint32_t kSsrc = 0x1234;
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 SetFrameIds(frame_id, frame_id - 1); 430 SetFrameIds(frame_id, frame_id - 1);
431 InsertPacket(); 431 InsertPacket();
432 testing_clock_.Advance( 432 testing_clock_.Advance(
433 base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); 433 base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs));
434 EXPECT_TRUE(feedback_.triggered()); 434 EXPECT_TRUE(feedback_.triggered());
435 EXPECT_EQ(frame_id, feedback_.last_frame_acked()); 435 EXPECT_EQ(frame_id, feedback_.last_frame_acked());
436 } 436 }
437 437
438 } // namespace cast 438 } // namespace cast
439 } // namespace media 439 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/net/rtp/cast_message_builder.h ('k') | media/cast/net/rtp/framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698