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

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

Issue 1515023002: Simplify interface for media/cast: CastTransportSenderImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add changes on tests. 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/cast_transport_config.h
diff --git a/media/cast/net/cast_transport_config.h b/media/cast/net/cast_transport_config.h
index 82823ad3c5712303bcf39af1e5d3c886a5ed0600..1c10799477f42f74582ffcb5416f09b49dc5902a 100644
--- a/media/cast/net/cast_transport_config.h
+++ b/media/cast/net/cast_transport_config.h
@@ -138,6 +138,10 @@ class PacketSender {
// Returns the number of bytes ever sent.
virtual int64_t GetBytesSent() = 0;
+ virtual void StartReceiving(
miu 2016/02/22 22:38:48 1. These methods don't belong in a "PacketSender"
xjz 2016/02/23 21:51:46 Agree. Will rename it in a following CL together w
+ const PacketReceiverCallbackWithStatus& packet_receiver) = 0;
+ virtual void StopReceiving() = 0;
+
virtual ~PacketSender() {}
};

Powered by Google App Engine
This is Rietveld 408576698