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

Unified Diff: media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc

Issue 25544003: Fix code style and gyp files in cast to build cast_unittest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed gyp files Created 7 years, 3 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/rtp_receiver/rtp_parser/rtp_parser_unittest.cc
diff --git a/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc b/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc
index 71e6f501a52e5041f3a45b707a87a8127664f6b0..7360429749ad50524095f27023ff02e7c3b3164f 100644
--- a/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc
+++ b/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc
@@ -27,15 +27,15 @@ class RtpDataTest : public RtpData {
expected_header_.reset(new RtpCastHeader());
}
- ~RtpDataTest() {}
+ virtual ~RtpDataTest() {}
void SetExpectedHeader(const RtpCastHeader& cast_header) {
memcpy(expected_header_.get(), &cast_header, sizeof(RtpCastHeader));
}
- void OnReceivedPayloadData(const uint8* payloadData,
- int payloadSize,
- const RtpCastHeader* rtpHeader) {
+ virtual void OnReceivedPayloadData(const uint8* payloadData,
+ int payloadSize,
+ const RtpCastHeader* rtpHeader) OVERRIDE {
VerifyCommonHeader(*rtpHeader);
VerifyCastHeader(*rtpHeader);
// TODO(mikhal): Add data verification.
@@ -69,7 +69,7 @@ class RtpParserTest : public ::testing::Test {
rtp_parser_.reset(new RtpParser(rtp_data_.get(), config_));
}
- ~RtpParserTest() {}
+ virtual ~RtpParserTest() {}
virtual void SetUp() {
cast_header_.InitRTPVideoHeaderCast();
« no previous file with comments | « media/cast/rtp_receiver/rtp_parser/rtp_parser.gypi ('k') | media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698