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

Unified Diff: net/tools/quic/test_tools/packet_dropping_test_writer.h

Issue 76723002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation error Created 7 years, 1 month 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: net/tools/quic/test_tools/packet_dropping_test_writer.h
diff --git a/net/tools/quic/test_tools/packet_dropping_test_writer.h b/net/tools/quic/test_tools/packet_dropping_test_writer.h
index 6299f5af54cdb5f5067f1add30ecd1080772918f..2a736e0cfe209c39fefb41078f1bd43571b9e246 100644
--- a/net/tools/quic/test_tools/packet_dropping_test_writer.h
+++ b/net/tools/quic/test_tools/packet_dropping_test_writer.h
@@ -42,9 +42,10 @@ class PacketDroppingTestWriter : public net::test::QuicTestWriter {
virtual bool IsWriteBlockedDataBuffered() const OVERRIDE;
- // Writes out the next packet to the contained writer and returns the time
+ // Writes out any packet which should have been sent by now
+ // to the contained writer and returns the time
// for the next delayed packet to be written.
- QuicTime ReleaseNextPacket();
+ QuicTime ReleaseOldPackets();
QuicBlockedWriterInterface* blocked_writer() { return blocked_writer_; }
@@ -96,6 +97,10 @@ class PacketDroppingTestWriter : public net::test::QuicTestWriter {
}
private:
+ // Writes out the next packet to the contained writer and returns the time
+ // for the next delayed packet to be written.
+ QuicTime ReleaseNextPacket();
+
// A single packet which will be sent at the supplied send_time.
class DelayedWrite {
public:
« no previous file with comments | « net/tools/quic/quic_server_session_test.cc ('k') | net/tools/quic/test_tools/packet_dropping_test_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698