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

Unified Diff: net/tools/quic/quic_simple_client.h

Issue 1035533006: Unify the QUIC client classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ssize_t Created 5 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/net.gypi ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_client.h
diff --git a/net/tools/quic/quic_simple_client.h b/net/tools/quic/quic_simple_client.h
index b44e693cba360d1b759c171035a50e3e0e895f13..2a53da08ac65ef57cadd122506b1ded5e210e4b8 100644
--- a/net/tools/quic/quic_simple_client.h
+++ b/net/tools/quic/quic_simple_client.h
@@ -23,8 +23,8 @@
#include "net/quic/quic_framer.h"
#include "net/quic/quic_packet_creator.h"
#include "net/quic/quic_packet_reader.h"
-#include "net/tools/quic/quic_simple_client_session.h"
-#include "net/tools/quic/quic_simple_client_stream.h"
+#include "net/tools/quic/quic_client_session.h"
+#include "net/tools/quic/quic_spdy_client_stream.h"
namespace net {
@@ -101,9 +101,9 @@ class QuicSimpleClient : public QuicDataStream::Visitor,
void SendRequestsAndWaitForResponse(
const base::CommandLine::StringVector& url_list);
- // Returns a newly created QuicSimpleClientStream, owned by the
+ // Returns a newly created QuicSpdyClientStream, owned by the
// QuicSimpleClient.
- QuicSimpleClientStream* CreateReliableClientStream();
+ QuicSpdyClientStream* CreateReliableClientStream();
// Wait for events until the stream with the given ID is closed.
void WaitForStreamToClose(QuicStreamId id);
@@ -124,7 +124,7 @@ class QuicSimpleClient : public QuicDataStream::Visitor,
// QuicDataStream::Visitor
void OnClose(QuicDataStream* stream) override;
- QuicSimpleClientSession* session() { return session_.get(); }
+ QuicClientSession* session() { return session_.get(); }
bool connected() const;
bool goaway_received() const;
@@ -238,7 +238,7 @@ class QuicSimpleClient : public QuicDataStream::Visitor,
scoped_ptr<QuicPacketWriter> writer_;
// Session which manages streams.
- scoped_ptr<QuicSimpleClientSession> session_;
+ scoped_ptr<QuicClientSession> session_;
// UDP socket connected to the server.
scoped_ptr<UDPClientSocket> socket_;
« no previous file with comments | « net/net.gypi ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698