diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 07:28:37 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 07:28:37 +0000 |
commit | 6dcd1d5c4b1e987066721a68684f559790133d26 (patch) | |
tree | 7a8ca860be731905c79745f2c1970ba6a03a4ff1 /net/quic/quic_connection_helper.h | |
parent | 5b731f3e83b2c6f6d69c887063ccc33de3db8ada (diff) | |
download | chromium_src-6dcd1d5c4b1e987066721a68684f559790133d26.zip chromium_src-6dcd1d5c4b1e987066721a68684f559790133d26.tar.gz chromium_src-6dcd1d5c4b1e987066721a68684f559790133d26.tar.bz2 |
Refactor QuicClientSession so that it owns the underlying socket
which is also stored in the QuicConnectionHelper. Make the
Helper owned by the Connection, which is in turn owned by
the Session.
Review URL: https://chromiumcodereview.appspot.com/12545035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188284 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_connection_helper.h')
-rw-r--r-- | net/quic/quic_connection_helper.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/net/quic/quic_connection_helper.h b/net/quic/quic_connection_helper.h index a119371..4f06ff31 100644 --- a/net/quic/quic_connection_helper.h +++ b/net/quic/quic_connection_helper.h @@ -55,11 +55,6 @@ class NET_EXPORT_PRIVATE QuicConnectionHelper virtual void SetAckAlarm(QuicTime::Delta delay) OVERRIDE; virtual void ClearAckAlarm() OVERRIDE; - int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); - // TODO(wtc): these two methods should be able to report a failure. - void GetLocalAddress(IPEndPoint* local_address); - void GetPeerAddress(IPEndPoint* peer_address); - private: friend class test::QuicConnectionHelperPeer; @@ -79,7 +74,7 @@ class NET_EXPORT_PRIVATE QuicConnectionHelper base::WeakPtrFactory<QuicConnectionHelper> weak_factory_; base::TaskRunner* task_runner_; - scoped_ptr<DatagramClientSocket> socket_; + DatagramClientSocket* socket_; QuicConnection* connection_; const QuicClock* clock_; QuicRandom* random_generator_; |