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

Unified Diff: net/quic/quic_connection_helper.cc

Issue 12545035: Refactor QuicClientSession so that it owns the underlying socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test leak Created 7 years, 9 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
« no previous file with comments | « net/quic/quic_connection_helper.h ('k') | net/quic/quic_connection_helper_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_helper.cc
diff --git a/net/quic/quic_connection_helper.cc b/net/quic/quic_connection_helper.cc
index 3af51ac02f9eabfbc4ace636ae92aff33f1fba86..2d1fecf5c6e5cf601ca569482f45dc0b2dc8db77 100644
--- a/net/quic/quic_connection_helper.cc
+++ b/net/quic/quic_connection_helper.cc
@@ -122,19 +122,6 @@ void QuicConnectionHelper::UnregisterSendAlarmIfRegistered() {
send_alarm_registered_ = false;
}
-int QuicConnectionHelper::Read(IOBuffer* buf, int buf_len,
- const CompletionCallback& callback) {
- return socket_->Read(buf, buf_len, callback);
-}
-
-void QuicConnectionHelper::GetLocalAddress(IPEndPoint* local_address) {
- socket_->GetLocalAddress(local_address);
-}
-
-void QuicConnectionHelper::GetPeerAddress(IPEndPoint* peer_address) {
- socket_->GetPeerAddress(peer_address);
-}
-
void QuicConnectionHelper::OnRetransmissionAlarm() {
QuicTime when = connection_->OnRetransmissionTimeout();
if (!when.IsInitialized()) {
« no previous file with comments | « net/quic/quic_connection_helper.h ('k') | net/quic/quic_connection_helper_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698