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

Unified Diff: webrtc/video/transport_adapter.cc

Issue 1273363005: Add send transports to individual webrtc::Call streams. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase+comment Created 5 years, 4 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
« no previous file with comments | « webrtc/video/send_statistics_proxy_unittest.cc ('k') | webrtc/video/video_capture_input_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/transport_adapter.cc
diff --git a/webrtc/video/transport_adapter.cc b/webrtc/video/transport_adapter.cc
index 7b5a6962c4483d19b3af13e1028e4f716480d2f3..225d4367259c22fe5455ad2e752c8960c87c2410 100644
--- a/webrtc/video/transport_adapter.cc
+++ b/webrtc/video/transport_adapter.cc
@@ -10,11 +10,15 @@
#include "webrtc/video/transport_adapter.h"
+#include "webrtc/base/checks.h"
+
namespace webrtc {
namespace internal {
TransportAdapter::TransportAdapter(newapi::Transport* transport)
- : transport_(transport), enabled_(0) {}
+ : transport_(transport), enabled_(0) {
+ DCHECK(nullptr != transport);
+}
int TransportAdapter::SendPacket(int /*channel*/,
const void* packet,
« no previous file with comments | « webrtc/video/send_statistics_proxy_unittest.cc ('k') | webrtc/video/video_capture_input_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698