diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-24 00:20:39 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-24 00:20:39 +0000 |
commit | cbd731e66d4af852e6c72615ad6a5871db8334c2 (patch) | |
tree | 2f7fd22afac559c2409f1fd124c51a55b2f45f2b /net/tools/quic/quic_server.h | |
parent | 1910aa0026dcb22dfa0be490ec9b5b7de9b0a833 (diff) | |
download | chromium_src-cbd731e66d4af852e6c72615ad6a5871db8334c2.zip chromium_src-cbd731e66d4af852e6c72615ad6a5871db8334c2.tar.gz chromium_src-cbd731e66d4af852e6c72615ad6a5871db8334c2.tar.bz2 |
Land Recent QUIC changes.
Move the QuicPacketWriter to the QuicConnection from the Helper. Also
changes the TestWriters to wrap another writer, instead of
re-implementing the default writer logic.
Merge internal change: 53858038
Adding an end to end test to simulate the socket being write blocked 10%
of the time.
Merge internal change: 53813433
R=rch@chromium.org
Review URL: https://codereview.chromium.org/37733002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/quic/quic_server.h')
-rw-r--r-- | net/tools/quic/quic_server.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tools/quic/quic_server.h b/net/tools/quic/quic_server.h index e537c3b..5fee644 100644 --- a/net/tools/quic/quic_server.h +++ b/net/tools/quic/quic_server.h @@ -20,6 +20,10 @@ namespace net { namespace tools { +namespace test { +class QuicServerPeer; +} // namespace test + class QuicDispatcher; class QuicServer : public EpollCallbackInterface { @@ -76,6 +80,8 @@ class QuicServer : public EpollCallbackInterface { int port() { return port_; } private: + friend class net::tools::test::QuicServerPeer; + // Initialize the internal state of the server. void Initialize(); |