in rtp_rtcp module:
fixed build/namespaces lint errors fixed readability/namespace lint errors BUG=webrtc:5277 R=mflodman,stefan@webrtc.org Review URL: https://codereview.webrtc.org/1506823002 Cr-Commit-Position: refs/heads/master@{#10978}
This commit is contained in:
@ -15,9 +15,8 @@
|
||||
|
||||
#include "webrtc/test/null_transport.h"
|
||||
|
||||
using namespace webrtc;
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
void LoopBackTransport::SetSendModule(RtpRtcp* rtp_rtcp_module,
|
||||
RTPPayloadRegistry* payload_registry,
|
||||
RtpReceiver* receiver,
|
||||
@ -77,7 +76,6 @@ int32_t TestRtpReceiver::OnReceivedPayloadData(
|
||||
payload_size_ = payload_size;
|
||||
return 0;
|
||||
}
|
||||
} // namespace webrtc
|
||||
|
||||
class RtpRtcpAPITest : public ::testing::Test {
|
||||
protected:
|
||||
@ -188,3 +186,5 @@ TEST_F(RtpRtcpAPITest, RtxReceiver) {
|
||||
rtx_header.payloadType = 0;
|
||||
EXPECT_TRUE(rtp_payload_registry_->IsRtx(rtx_header));
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
||||
#include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h"
|
||||
|
||||
using namespace webrtc;
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
#define test_rate 64000u
|
||||
|
||||
class VerifyingAudioReceiver : public NullRtpData {
|
||||
@ -349,3 +349,6 @@ TEST_F(RtpRtcpAudioTest, DTMF) {
|
||||
module1->Process();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace webrtc
|
||||
|
||||
@ -20,7 +20,8 @@
|
||||
#include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h"
|
||||
#include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h"
|
||||
|
||||
using namespace webrtc;
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
||||
const uint64_t kTestPictureId = 12345678;
|
||||
const uint8_t kSliPictureId = 156;
|
||||
@ -266,3 +267,6 @@ TEST_F(RtpRtcpRtcpTest, RemoteRTCPStatRemote) {
|
||||
EXPECT_EQ(test_sequence_number, report_blocks[0].extendedHighSeqNum);
|
||||
EXPECT_EQ(0u, report_blocks[0].fractionLost);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user