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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.cc

Issue 2400993002: Fix chromium-style warnings. (Closed)
Patch Set: Created 4 years, 2 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: webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..facf81248b6fa3c068566212d565f39d74228b96
--- /dev/null
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.cc
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.h"
+
+namespace webrtc {
+
+int32_t NullRtpFeedback::OnInitializeDecoder(
+ int8_t payload_type,
+ const char payloadName[RTP_PAYLOAD_NAME_SIZE],
+ int frequency,
+ size_t channels,
+ uint32_t rate) {
+ return 0;
+}
+
+int32_t NullRtpData::OnReceivedPayloadData(const uint8_t* payload_data,
+ size_t payload_size,
+ const WebRtcRTPHeader* rtp_header) {
+ return 0;
+}
+
+bool NullRtpData::OnRecoveredPacket(const uint8_t* packet,
+ size_t packet_length) {
+ return true;
+}
+
+} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698