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

Unified Diff: net/tools/quic/quic_client.cc

Issue 1761643004: Remove single line virtual methods that are not overridden anywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115551866
Patch Set: Update dependency Created 4 years, 10 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/tools/quic/quic_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index ec5e4e0bcb918f5e04f8c44f734267282a4a95ee..56514ae89ee223e1364f94ee7ca285b70ca09844 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -77,7 +77,7 @@ QuicClient::QuicClient(IPEndPoint server_address,
use_recvmmsg_(false),
store_response_(false),
latest_response_code_(-1),
- packet_reader_(CreateQuicPacketReader()) {}
+ packet_reader_(new QuicPacketReader()) {}
QuicClient::~QuicClient() {
if (connected()) {
@@ -479,10 +479,6 @@ QuicPacketWriter* QuicClient::CreateQuicPacketWriter() {
return new QuicDefaultPacketWriter(GetLatestFD());
}
-QuicPacketReader* QuicClient::CreateQuicPacketReader() {
- return new QuicPacketReader();
-}
-
const IPEndPoint QuicClient::GetLatestClientAddress() const {
if (fd_address_map_.empty()) {
return IPEndPoint();
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698