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

Unified Diff: media/cast/net/udp_transport.h

Issue 1515023002: Simplify interface for media/cast: CastTransportSenderImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New version: move creating UdpTransport out and use setters for options. 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 side-by-side diff with in-line comments
Download patch
Index: media/cast/net/udp_transport.h
diff --git a/media/cast/net/udp_transport.h b/media/cast/net/udp_transport.h
index 6da6ae3ac18a2b23da4e4981520d2f33acc8d980..c1c874f58205e037d3455ae91764754bf444f491 100644
--- a/media/cast/net/udp_transport.h
+++ b/media/cast/net/udp_transport.h
@@ -11,6 +11,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/values.h"
#include "build/build_config.h"
#include "media/cast/cast_environment.h"
#include "media/cast/net/cast_transport_config.h"
@@ -49,8 +50,9 @@ class UdpTransport : public PacketSender {
~UdpTransport() final;
// Start receiving packets. Packets are submitted to |packet_receiver|.
- void StartReceiving(const PacketReceiverCallbackWithStatus& packet_receiver);
- void StopReceiving();
+ void StartReceiving(
+ const PacketReceiverCallbackWithStatus& packet_receiver) final;
+ void StopReceiving() final;
// Set a new DSCP value to the socket. The value will be set right before
// the next send.
« media/cast/net/cast_transport_sender_impl.cc ('K') | « media/cast/net/pacing/paced_sender.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698