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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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.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 6bf87f9eae5d30e78d449b83f906f62ad2b12e01..c095a4d9eede3dc11b5ca21374afcd345de27ba9 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -44,7 +44,7 @@ class QuicClient : public EpollCallbackInterface,
virtual ~ResponseListener() {}
virtual void OnCompleteResponse(QuicStreamId id,
const BalsaHeaders& response_headers,
- const string& response_body) = 0;
+ const std::string& response_body) = 0;
};
// Create a quic client, which will have events managed by an externally owned
@@ -120,6 +120,7 @@ class QuicClient : public EpollCallbackInterface,
QuicClientSession* session() { return session_.get(); }
bool connected() const;
+ bool goaway_received() const;
void set_bind_to_address(IPAddressNumber address) {
bind_to_address_ = address;
@@ -142,7 +143,7 @@ class QuicClient : public EpollCallbackInterface,
server_id_ = server_id;
}
- void SetUserAgentID(const string& user_agent_id) {
+ void SetUserAgentID(const std::string& user_agent_id) {
crypto_config_.set_user_agent_id(user_agent_id);
}
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698