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

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

Issue 2130103002: Landing Recent QUIC changes until 2016-07-02 02:45 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/end_to_end_test.cc ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.h
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
index 99e529c4a2b82c6a49b29549e3160127833d34c0..0beccc14a790cf0a33d9468bce44608044be9abf 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -171,7 +171,11 @@ class QuicClient : public QuicClientBase,
const IPEndPoint& server_address() const { return server_address_; }
- // Takes ownership of the listener.
+ void set_server_address(const IPEndPoint& server_address) {
+ server_address_ = server_address;
+ }
+
+ // Takes ownership of the std::listener.
void set_response_listener(ResponseListener* listener) {
response_listener_.reset(listener);
}
@@ -246,7 +250,7 @@ class QuicClient : public QuicClientBase,
bool fin);
// Address of the server.
- const IPEndPoint server_address_;
+ IPEndPoint server_address_;
// If initialized, the address to bind to.
IPAddress bind_to_address_;
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698