virtual bool SendPacket(PacketRef packet,
const base::Closure& cb) OVERRIDE;
+ virtual int64 GetBytesSent() OVERRIDE;
+
// Initiailize this loopback transport.
// Establish a flow of packets from |pipe| to |packet_receiver|.
// The data flow looks like:
private:
const scoped_refptr<CastEnvironment> cast_environment_;
scoped_ptr<test::PacketPipe> packet_pipe_;
+ int64 bytes_sent_;
DISALLOW_COPY_AND_ASSIGN(LoopBackTransport);
};