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

Unified Diff: media/cast/test/utility/in_process_receiver.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/test/utility/in_process_receiver.h
diff --git a/media/cast/test/utility/in_process_receiver.h b/media/cast/test/utility/in_process_receiver.h
index cd957d4f778ec400300446aae4804382df0e71cc..abcb6ad112fbda41c13b16c7ad2ca246481a75f3 100644
--- a/media/cast/test/utility/in_process_receiver.h
+++ b/media/cast/test/utility/in_process_receiver.h
@@ -64,6 +64,8 @@ class InProcessReceiver {
// After this call, it is safe to destroy this object on any thread.
virtual void Stop();
+ void ReceivePacket(scoped_ptr<Packet> packet);
miu 2016/02/22 22:38:48 Don't make this method public. Instead, make the
xjz 2016/02/23 21:51:47 Done.
+
protected:
// To be implemented by subclasses. These are called on the Cast MAIN thread
// as each frame is received.
@@ -102,8 +104,6 @@ class InProcessReceiver {
void PullNextAudioFrame();
void PullNextVideoFrame();
- void ReceivePacket(scoped_ptr<Packet> packet);
-
const scoped_refptr<CastEnvironment> cast_environment_;
const net::IPEndPoint local_end_point_;
const net::IPEndPoint remote_end_point_;

Powered by Google App Engine
This is Rietveld 408576698